瀏覽代碼

== -> = in the if

avadapal 2 年之前
父節點
當前提交
4fcda3e61a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Docker/run-experiment.sh

+ 1 - 1
Docker/run-experiment.sh

@@ -29,7 +29,7 @@ items=$((1<<size))
 echo ===== Running duoram $mode $size $iters
 date "+===== Start %s %F %T"
 
-if [ "$4" == "online" ]; then
+if [ "$4" = "online" ]; then
     # Run, saving the output
     savefilep2=$$.p2.out
     savefilep0=$$.p1.out