From bd96b6f15c9fbce2e9115375d5b13b194efbfbb4 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 27 May 2018 11:18:14 +0200 Subject: bin/build-packages: bail_out -> exit, there is already a trap --- bin/build-packages | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/build-packages b/bin/build-packages index 6a57303..6d4f93a 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -587,11 +587,11 @@ while [ "${count}" -ne 0 ] && \ ;; 3) >&2 echo "'return-assignment' reports a signature error." - bail_out 1 + exit 1 ;; 4) >&2 echo "'return-assignment' reports too many or missing packages." - bail_out 1 + exit 1 ;; *) >&2 echo "unknown return code ${err} from 'return-assignment'" @@ -649,7 +649,7 @@ while [ "${count}" -ne 0 ] && \ fi if ${exit_after_failure}; then >&2 echo 'Build failed, exiting now' - bail_out 0 + exit 0 fi fi -- cgit v1.2.3-70-g09d2