summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2013-02-12 21:22:16 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2013-02-12 21:22:16 +0000
commitdfd1223cdd9f102cb1c1c1dc7da599b2cdb9a105 (patch)
treea31017948d3e8e26012ce1d800e214f7ec39b569
parent774bc7894b657034f330fed30dc44e10af56b44e (diff)
Better quoting, II
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@586 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xtor-exit-ssl-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/tor-exit-ssl-check b/tor-exit-ssl-check
index e2b5f47..87a5b00 100755
--- a/tor-exit-ssl-check
+++ b/tor-exit-ssl-check
@@ -167,7 +167,7 @@ while : ; do
# de-base64 if needed
if [ "$(echo "$server" | wc -c)" = 28 ] ; then
- server="$(echo "$server" | perl -MMIME::Base64 -e "print unpack(\"H*\", decode_base64(<>)),\"\n\"")"
+ server="$(echo "$server" | perl -MMIME::Base64 -e 'print unpack("H*", decode_base64(<>))')"
fi
[ "$verbose" = 0 ] || echo "Setting ExitNodes $server"