index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Alad Wenter <alad@archlinux.org> | 2019-01-20 23:14:14 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-10-07 17:09:23 +1000 |
commit | 7e79cf73fac6fdd7d6cbfb35fe240b137e81c028 (patch) | |
tree | 05b995b9100c67eb5bd4a44fa4c1a7e6ccbc4b1f /scripts | |
parent | 095d6332bea6cd44e012927043a89210b1a3f9b3 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 6 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 756109cc..dae025c9 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -173,7 +173,11 @@ clean_up() { fi fi - remove_deps + if ! remove_deps && (( EXIT_CODE == E_OK )); then + exit $E_REMOVE_DEPS_FAILED + else + exit $EXIT_CODE + fi } enter_fakeroot() { |