From a3acbef3e2c46b431de8a8658da2f58b95204bef Mon Sep 17 00:00:00 2001 From: Clinton Hall Date: Sat, 23 Mar 2013 17:41:52 -0700 Subject: [PATCH] fix elif statement --- .../current-stable/nzbget-postprocess.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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