diff mbox

[5/7] do-all, get-all: run with 'set -e'

Message ID 20170525192549.138518-6-ebiggers3@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Eric Biggers May 25, 2017, 7:25 p.m. UTC
From: Eric Biggers <ebiggers@google.com>

If one of the steps fails, we should not continue on.

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 do-all  | 2 ++
 get-all | 2 ++
 2 files changed, 4 insertions(+)
diff mbox

Patch

diff --git a/do-all b/do-all
index d4daad0..d6b8169 100755
--- a/do-all
+++ b/do-all
@@ -1,5 +1,7 @@ 
 #!/bin/bash
 
+set -e
+
 if test -f config.custom ; then
 	. config.custom
 else
diff --git a/get-all b/get-all
index fa27229..bb1cd4c 100755
--- a/get-all
+++ b/get-all
@@ -1,5 +1,7 @@ 
 #!/bin/bash
 
+set -e
+
 if test -f config.custom ; then
 	. config.custom
 else