Exit on error in control script

This commit is contained in:
Rodrigo Arias 2020-08-25 18:35:58 +02:00
parent f44f5b4338
commit d1e152a917

View File

@ -14,6 +14,7 @@ stdenv.mkDerivation {
mkdir -p $out/bin
cat > $out/bin/run <<EOF
#!/bin/sh
set -e
for n in {1..30}; do
$program/bin/run
done