xbps-src: run_func on error must return 1 not 2.
This commit is contained in:
parent
c20b3edab4
commit
ce859b4188
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ error_func() {
|
||||||
if [ -n "$1" -a -n "$2" ]; then
|
if [ -n "$1" -a -n "$2" ]; then
|
||||||
msg_red "$pkgver: failed to run $1() at line $2.\n"
|
msg_red "$pkgver: failed to run $1() at line $2.\n"
|
||||||
fi
|
fi
|
||||||
exit 2
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
exit_and_cleanup() {
|
exit_and_cleanup() {
|
||||||
|
|
Loading…
Reference in a new issue