Explorar o código

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

Nick Mathewson %!s(int64=9) %!d(string=hai) anos
pai
achega
a0b4c2f1bd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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