]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
On jessie, we need a =, not a ==
authorNick Mathewson <nickm@torproject.org>
Tue, 13 Jan 2015 03:30:40 +0000 (22:30 -0500)
committerNick Mathewson <nickm@torproject.org>
Tue, 13 Jan 2015 03:30:40 +0000 (22:30 -0500)
src/test/zero_length_keys.sh

index eea1f35a5c235d8327052e39988d225f07c1c802..3a99ca1f1d493f1f94414959d92e8c07f01b18bb 100755 (executable)
@@ -68,7 +68,7 @@ if [ "$1" != "-e" ]; then
 fi
 
 # create empty files for -z
-if [ "$1" == "-z" ]; then
+if [ "$1" = "-z" ]; then
   FILE_DESC="regenerates zero-length"
   touch "$DATA_DIR"/keys/secret_id_key || exit -1
   touch "$DATA_DIR"/keys/secret_onion_key || exit -1