control: Exit on error
This prevents srun from silently returning with an error, without actually queueing the job of a run.
This commit is contained in:
parent
756c5dff92
commit
7d4db6b6de
@ -17,7 +17,7 @@ stdenv.mkDerivation {
|
||||
dontPatchShebangs = true;
|
||||
installPhase = ''
|
||||
cat > $out <<EOF
|
||||
#!/bin/sh
|
||||
#!/bin/sh -e
|
||||
for n in \$(seq 1 ${toString loops}); do
|
||||
export GARLIC_RUN="\$n"
|
||||
echo "running \$n of ${toString loops}" > status
|
||||
|
Loading…
Reference in New Issue
Block a user