Explorar o código

== -> = in the if

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