From c1ced7c33f6fb2e693c7d969feeaaf836d33602f Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Wed, 12 Dec 2012 18:46:02 -0800 Subject: [PATCH] Removed Unwanted >/dev/null 2>&1 --- 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 20b94363..e7d30963 100644 --- a/nzbget-postprocessing-files/0.8.0/postprocess.sh +++ b/nzbget-postprocessing-files/0.8.0/postprocess.sh @@ -371,7 +371,7 @@ fi # Test for category and ensure the passed directory exists as a directory. if [ "$NZBPP_CATEGORY" = "$SickBeardCategory" -a -d "$TvDownloadDir" ]; then echo "[INFO] Post-Process: Moving TV shows to $TvDownloadDir" - cp -R "$NZBPP_DIRECTORY" "$TvDownloadDir" >/dev/null 2>&1 + cp -R "$NZBPP_DIRECTORY" "$TvDownloadDir" if [ "$?" -ne 0 ]; then echo "[ERROR] Post-Process: Moving to $TvDownloadDir" exit $POSTPROCESS_ERROR @@ -386,7 +386,7 @@ fi # Test for category and ensure the passed directory exists as a directory. if [ "$NZBPP_CATEGORY" = "$CouchPotatoCategory" -a -d "$MoviesDownloadDir" ]; then echo "[INFO] Post-Process: Moving Movies to $MoviesDownloadDir" - cp -R "$NZBPP_DIRECTORY" "$MoviesDownloadDir" >/dev/null 2>&1 + cp -R "$NZBPP_DIRECTORY" "$MoviesDownloadDir" if [ "$?" -ne 0 ]; then echo "[ERROR] Post-Process: Moving to $MoviesDownloadDir" exit $POSTPROCESS_ERROR