commit 89d87dfbc9c648510a0cf50f56d7a6248703599f parent 09238fae49c576d0bd0bb95b181329e40710d5ac Author: Georges Dupéron <georges.duperon@gmail.com> Date: Fri, 14 Sep 2018 22:17:10 +0200 Stop the script run inside the VM as soon as an error occurs. Diffstat:
| M | to-be-run-in-vm.sh | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/to-be-run-in-vm.sh b/to-be-run-in-vm.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -e if [ "$#" -ne 1 ]; then echo "Usage: $0 shepherd"