From 90418660af84f92ffc577bf52f58f1461860b602 Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Thu, 20 Dec 2012 18:12:22 -0800 Subject: [PATCH] Change cleanup list to string --- nzbget-postprocessing-files/0.8.0/postprocess.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nzbget-postprocessing-files/0.8.0/postprocess.sh b/nzbget-postprocessing-files/0.8.0/postprocess.sh index 0ba6d148..c85855fe 100644 --- a/nzbget-postprocessing-files/0.8.0/postprocess.sh +++ b/nzbget-postprocessing-files/0.8.0/postprocess.sh @@ -372,7 +372,7 @@ fi echo "[INFO] Post-Process: Cleaning up" chmod -R a+rw . # Clean up list, space seperated array from GUI -for item in ${FileCleanUp[*]} ; do rm $item >/dev/null 2>&1 ; done +for word in $FileCleanUp ; do rm $word >/dev/null 2>&1 ; done # Removed by default rm _brokenlog.txt >/dev/null 2>&1 if [ "$Unrared" -eq 1 ]; then