summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBo Ørsted Andresen <bo.andresen@zlin.dk>2007-04-03 18:57:54 +0000
committerBo Ørsted Andresen <bo.andresen@zlin.dk>2007-04-03 18:57:54 +0000
commitf920fc1806886d6a60d1ab704d8bceabf86204de (patch)
tree6264380936e9c5a2b043d9bd114e1ed5e59070d1
parent9f012242778eb7966fe09e20b0690c80a41506b4 (diff)
downloadwgetpaste-f920fc1806886d6a60d1ab704d8bceabf86204de.tar.gz
Collapse on more [[ ]] || [[ ]].
-rwxr-xr-xwgetpaste2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgetpaste b/wgetpaste
index 4c0ca2a..755413e 100755
--- a/wgetpaste
+++ b/wgetpaste
@@ -544,7 +544,7 @@ RECIPIENT="$(getrecipient RAW)"
# paste it
WGET_ARGS="--tries=5 --timeout=60 ${WGET_ARGS}"
-if geturl needstdout || [[ ${DEBUG} ]] || [[ ! -w /dev/null ]]; then
+if geturl needstdout || [[ ${DEBUG} || ! -w /dev/null ]]; then
OUTPUT="$(wget -O - ${WGET_ARGS} ${RECIPIENT} 2>&1)"
else
OUTPUT="$(wget -O /dev/null ${WGET_ARGS} ${RECIPIENT} 2>&1)"