瀏覽代碼

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

Nick Mathewson 9 年之前
父節點
當前提交
a0b4c2f1bd
共有 1 個文件被更改,包括 1 次插入1 次删除
  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