From 4244a57b52f95508e536eab45b7b6175852a8a80 Mon Sep 17 00:00:00 2001 From: Henric Andersson Date: Thu, 21 Jul 2016 20:01:44 -0700 Subject: [PATCH] Fixed issue where -r wouldn't work without -S --- plexupdate.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index 0d5c3ee..665cfc0 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -430,7 +430,11 @@ if [ $? -ne 0 ]; then fi if [ "${PRINT_URL}" == "yes" ]; then - echo "${DOWNLOAD}" >&5 + if [ "${QUIET}" = "yes" ] || [ "${SILENT}" = "yes" ]; then + echo "${DOWNLOAD}" >&5 + else + echo "${DOWNLOAD}" + fi cronexit 0 fi