diff --git a/examples/script_that_sometimes_fails.sh b/examples/script_that_sometimes_fails.sh index 1da672c..bdb7092 100755 --- a/examples/script_that_sometimes_fails.sh +++ b/examples/script_that_sometimes_fails.sh @@ -15,7 +15,7 @@ prng () { b=$seed m=$SLURM_NTASKS # Workaround bug# 4 - if (( $b % $m == 0 )) + if (( b % m == 0 )) then b+=1 fi