summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Fyfe <andrew@neptune-one.net>2007-07-02 18:28:39 +0100
committerDan McGee <dan@archlinux.org>2007-07-09 15:57:38 -0400
commit7d7457288734730dbb0cea3b1918c004f06db1a5 (patch)
tree1df5fbb0b522d1953fd09088e1cac1704c5f5015 /src
parent1480ac29e475e369fb781fe98ac5991e1a67e5e5 (diff)
downloadpacman-7d7457288734730dbb0cea3b1918c004f06db1a5.tar.xz
Change the exit code for pacman_deptest().
Changed the exit code for missing deps from 1 to 127 because 1 is used for other errors. makepkg breaks if pacman exits with 1 for any reason other than a missing dep. Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/deptest.c2
1 files changed, 1 insertions, 1 deletions
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);
}