on unrar-fail don't process

This should return to the unrar section within nzbget.
This commit is contained in:
clinton-hall 2012-12-20 16:11:07 -08:00
commit 419ffacab8

View file

@ -271,7 +271,7 @@ if [ ! "$NZBPP_PARSTATUS" -eq 2 ]; then
if [ -f "_brokenlog.txt" ]; then if [ -f "_brokenlog.txt" ]; then
if (ls *.[pP][aA][rR]2 >/dev/null 2>&1); then if (ls *.[pP][aA][rR]2 >/dev/null 2>&1); then
echo "[INFO] Post-Process: Brokenlog found, requesting par-repair" echo "[INFO] Post-Process: Brokenlog found, requesting par-repair"
do_exit $POSTPROCESS_PARCHECK_ALL exit $POSTPROCESS_PARCHECK_ALL
fi fi
fi 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 # 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 if (ls *.[pP][aA][rR]2 >/dev/null 2>&1); then
echo "[INFO] Post-Process: Requesting par-repair" echo "[INFO] Post-Process: Requesting par-repair"
do_exit $POSTPROCESS_PARCHECK_ALL exit $POSTPROCESS_PARCHECK_ALL
fi fi
do_exit $POSTPROCESS_ERROR do_exit $POSTPROCESS_ERROR
fi fi