Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 91afa21d authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

torture: Avoid script syntax error when insufficient CPUs



Parentheses are special to bash, so use an overflow flag that doesn't
use them.

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent b826565a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -310,7 +310,7 @@ function dump(first, pastlast)
			cfr[jn] = cf[j] "." cfrep[cf[j]];
		}
		if (cpusr[jn] > ncpus && ncpus != 0)
			ovf = "(!)";
			ovf = "-ovf";
		else
			ovf = "";
		print "echo ", cfr[jn], cpusr[jn] ovf ": Starting build. `date`";