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;
|
dontPatchShebangs = true;
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cat > $out <<EOF
|
cat > $out <<EOF
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
for n in \$(seq 1 ${toString loops}); do
|
for n in \$(seq 1 ${toString loops}); do
|
||||||
export GARLIC_RUN="\$n"
|
export GARLIC_RUN="\$n"
|
||||||
echo "running \$n of ${toString loops}" > status
|
echo "running \$n of ${toString loops}" > status
|
||||||
|
Loading…
Reference in New Issue
Block a user