mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-14 02:26:56 -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
|
||||
if [ "${QUIET}" = "yes" ] || [ "${SILENT}" = "yes" ]; then
|
||||
exec 1> /dev/null
|
||||
exec 5>&1 >/dev/null
|
||||
fi
|
||||
|
||||
# send all stdout and stderr to /dev/null
|
||||
|
@ -430,7 +430,7 @@ if [ $? -ne 0 ]; then
|
|||
fi
|
||||
|
||||
if [ "${PRINT_URL}" == "yes" ]; then
|
||||
echo "${DOWNLOAD}"
|
||||
echo "${DOWNLOAD}" >&5
|
||||
cronexit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue