summaryrefslogtreecommitdiff
path: root/contrib/torify.in
diff options
context:
space:
mode:
authorMarcus Griep <marcus@griep.us>2009-06-12 12:16:53 -0400
committerNick Mathewson <nickm@torproject.org>2009-06-16 15:17:49 -0400
commitb871cdf64bc6ee3956fbec8b611588f417eae52f (patch)
tree8786869fb984f25343270da894f6fb64be5f6437 /contrib/torify.in
parent0caf8dd0b6b047e0cc050837b2eea1746c508a5d (diff)
downloadtor-b871cdf64bc6ee3956fbec8b611588f417eae52f.tar.gz
tor-b871cdf64bc6ee3956fbec8b611588f417eae52f.zip
Remove bashism from torify script
Signed-off-by: Marcus Griep <marcus@griep.us>
Diffstat (limited to 'contrib/torify.in')
-rwxr-xr-xcontrib/torify.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/torify.in b/contrib/torify.in
index 6b1e440dc1..5bf7d4dbcf 100755
--- a/contrib/torify.in
+++ b/contrib/torify.in
@@ -52,7 +52,7 @@ then
shift 1
fi
-if [ "$PROG" == "$TSOCKS" ]
+if [ "$PROG" = "$TSOCKS" ]
then
# Define our tsocks config file
TSOCKS_CONF_FILE="/etc/tor/tor-tsocks.conf"
@@ -70,7 +70,7 @@ then
exit 1
fi
fi
-if [ "$PROG" == "$TORSOCKS" ]
+if [ "$PROG" = "$TORSOCKS" ]
then
exec torsocks "$@"
fi