From c54f75f02f2f51e48281c3cc2fcb612c591f76df Mon Sep 17 00:00:00 2001 From: clinton-hall Date: Wed, 12 Dec 2012 17:45:58 -0800 Subject: [PATCH] Removed Unwanted >/dev/null 2>&1 As suggested by schumi2004 --- nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh b/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh index cccf9e1a..428d7750 100644 --- a/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh +++ b/nzbget-postprocessing-files/9.0/bin/nzbget-postprocess.sh @@ -373,7 +373,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 @@ -388,7 +388,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