index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | scripts/makepkg.sh.in | 2 | ||||
-rw-r--r-- | src/pacman/deptest.c | 2 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 30e6b711..0c659dac 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -296,7 +296,7 @@ check_deps() { pmout=$(pacman $PACMAN_OPTS -T $*) ret=$? - if [ $ret -eq 1 ]; then #unresolved deps + if [ $ret -eq 127 ]; then #unresolved deps echo "$pmout" elif [ $ret -ne 0 ]; then error "$(gettext "Pacman returned a fatal error (%i): %s")" "$ret" "$pmout" diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c index 264ba1c9..5addfb32 100644 --- a/src/pacman/deptest.c +++ b/src/pacman/deptest.c @@ -79,7 +79,7 @@ int pacman_deptest(alpm_list_t *targets) if(!found) { printf("%s\n", saved_target); - retval = 1; + retval = 127; } free(saved_target); } |