mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 12:59:40 -07:00
-r now works with -q
-q would supress all output, even the desired one. This solves the problem for -r which ALWAYS should print the URL, regardless of -q
This commit is contained in:
parent
cbe3ba874a
commit
f1bec29d62
1 changed files with 2 additions and 2 deletions
|
@ -197,7 +197,7 @@ fi
|
||||||
|
|
||||||
# send all stdout to /dev/null
|
# send all stdout to /dev/null
|
||||||
if [ "${QUIET}" = "yes" ] || [ "${SILENT}" = "yes" ]; then
|
if [ "${QUIET}" = "yes" ] || [ "${SILENT}" = "yes" ]; then
|
||||||
exec 1> /dev/null
|
exec 5>&1 >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# send all stdout and stderr to /dev/null
|
# send all stdout and stderr to /dev/null
|
||||||
|
@ -430,7 +430,7 @@ if [ $? -ne 0 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${PRINT_URL}" == "yes" ]; then
|
if [ "${PRINT_URL}" == "yes" ]; then
|
||||||
echo "${DOWNLOAD}"
|
echo "${DOWNLOAD}" >&5
|
||||||
cronexit 0
|
cronexit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue