Browse Source

On jessie, we need a =, not a ==

Nick Mathewson 9 years ago
parent
commit
a0b4c2f1bd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/test/zero_length_keys.sh

+ 1 - 1
src/test/zero_length_keys.sh

@@ -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