From 419ffacab8edad43ddc360342ae09dcb1e0210de Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Thu, 20 Dec 2012 16:11:07 -0800 Subject: [PATCH] on unrar-fail don't process This should return to the unrar section within nzbget. --- nzbget-postprocessing-files/0.8.0/postprocess.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nzbget-postprocessing-files/0.8.0/postprocess.sh b/nzbget-postprocessing-files/0.8.0/postprocess.sh index c6d02cd2..0ba6d148 100644 --- a/nzbget-postprocessing-files/0.8.0/postprocess.sh +++ b/nzbget-postprocessing-files/0.8.0/postprocess.sh @@ -271,7 +271,7 @@ if [ ! "$NZBPP_PARSTATUS" -eq 2 ]; then if [ -f "_brokenlog.txt" ]; then if (ls *.[pP][aA][rR]2 >/dev/null 2>&1); then echo "[INFO] Post-Process: Brokenlog found, requesting par-repair" - do_exit $POSTPROCESS_PARCHECK_ALL + exit $POSTPROCESS_PARCHECK_ALL fi fi fi @@ -314,7 +314,7 @@ if (ls *.rar >/dev/null 2>&1); then # for delayed par-check/-repair at least one par-file must be already downloaded if (ls *.[pP][aA][rR]2 >/dev/null 2>&1); then echo "[INFO] Post-Process: Requesting par-repair" - do_exit $POSTPROCESS_PARCHECK_ALL + exit $POSTPROCESS_PARCHECK_ALL fi do_exit $POSTPROCESS_ERROR fi