[pacman-dev] [PATCH v4 4/5] pkgdelta: exit 1 upon error
Florian Pritz
bluewind at xinu.at
Sat Apr 7 08:28:48 EDT 2012
This has been 0 since 9fa18d9a4b4ce5217842c71d8a45676e3fb9d3f4, but it
doesn't makes sense because we are raising an error.
Signed-off-by: Florian Pritz <bluewind at xinu.at>
---
scripts/pkgdelta.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in
index f76d1ca..bae2ef8 100644
--- a/scripts/pkgdelta.sh.in
+++ b/scripts/pkgdelta.sh.in
@@ -195,7 +195,7 @@ fi
for i in "${args[@]}"; do
if [[ ! -f $i ]]; then
error "$(gettext "File '%s' does not exist")" "$i"
- exit 0
+ exit 1
fi
done
--
1.7.9.6
More information about the pacman-dev
mailing list