mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

commit 37098e89dd90eea13a3cbb3fd6129fbf67409d55
parent c76a744b8e1e06c38bc5c24a5a4085360fccc1f5
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 10 Jan 2018 16:23:01 +0100

fix loop exit

Diffstat:
deploy-sieve | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/deploy-sieve b/deploy-sieve @@ -27,6 +27,11 @@ do exit 1 done +# exit if loop subshell exited +if [[ $? -eq 1 ]]; then + exit 1 +fi + echo "Passed all tests: `wc -l $TESTS`" rsync -av "$1/" "$LOCATION/"