From ce859b4188ac2a939895eab7fac814351d18f508 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 20 Mar 2015 09:17:40 +0100 Subject: [PATCH] xbps-src: run_func on error must return 1 not 2. --- common/xbps-src/shutils/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xbps-src/shutils/common.sh b/common/xbps-src/shutils/common.sh index 3fc0f20892..4982c1f4ce 100644 --- a/common/xbps-src/shutils/common.sh +++ b/common/xbps-src/shutils/common.sh @@ -31,7 +31,7 @@ error_func() { if [ -n "$1" -a -n "$2" ]; then msg_red "$pkgver: failed to run $1() at line $2.\n" fi - exit 2 + exit 1 } exit_and_cleanup() {