diff --git a/nzbget-postprocessing-files/current-stable/nzbget-postprocess.sh b/nzbget-postprocessing-files/current-stable/nzbget-postprocess.sh index 1e0dea42..323f0437 100644 --- a/nzbget-postprocessing-files/current-stable/nzbget-postprocess.sh +++ b/nzbget-postprocessing-files/current-stable/nzbget-postprocess.sh @@ -196,7 +196,7 @@ do_exit() { rm * >/dev/null 2>&1 cd .. rmdir $NZBPP_DIRECTORY - elif [ "$NZBPP_DIRECTORY" != "$ConfigDir" -a "$Failed_Directory" != "" ] + elif [ "$NZBPP_DIRECTORY" != "$ConfigDir" -a "$Failed_Directory" != "" ]; then mkdir $Failed_Directory mkdir $Failed_Directory/$NZBPP_CATEGORY mv * $Failed_Directory/$NZBPP_CATEGORY >/dev/null 2>&1