commit b222b30b1d8ebf7216b76dfc0d2d2e489bf34f1f
parent 7f9917f34c19967256c845a922ba76afe1db9a91
Author: Anders Damsgaard <andersd@riseup.net>
Date: Sat, 4 Nov 2017 14:24:26 -0400
do not echo blank stdout from wget
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/links/bin/currency b/links/bin/currency
@@ -26,7 +26,6 @@ GETCMD="wget --no-verbose"
if command -v torify >/dev/null 2>/dev/null; then
GETCMD="torify $GETCMD"
fi
-echo $RESULT
RESULT=`$GETCMD -O - "$CONVERTER" 2>&1 | \
LC_ALL=C sed -n -e 's/.*<span class=bld>\(.*\)<\/span>.*/\1/p'`