mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Remove bashism from torify script
Signed-off-by: Marcus Griep <marcus@griep.us>
This commit is contained in:
committed by
Nick Mathewson
parent
0caf8dd0b6
commit
b871cdf64b
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user