Browse Source

Remove bashism from torify script

Signed-off-by: Marcus Griep <marcus@griep.us>
Marcus Griep 16 years ago
parent
commit
b871cdf64b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      contrib/torify.in

+ 2 - 2
contrib/torify.in

@@ -52,7 +52,7 @@ then
 	shift 1
 	shift 1
 fi
 fi
 
 
-if [ "$PROG" == "$TSOCKS" ]
+if [ "$PROG" = "$TSOCKS" ]
 then
 then
 	# Define our tsocks config file
 	# Define our tsocks config file
 	TSOCKS_CONF_FILE="/etc/tor/tor-tsocks.conf"
 	TSOCKS_CONF_FILE="/etc/tor/tor-tsocks.conf"
@@ -70,7 +70,7 @@ then
 		exit 1
 		exit 1
 	fi
 	fi
 fi
 fi
-if [ "$PROG" == "$TORSOCKS" ]
+if [ "$PROG" = "$TORSOCKS" ]
 then
 then
 	exec torsocks "$@"
 	exec torsocks "$@"
 fi
 fi