pkgdelta: exit 1 upon error

This has been 0 since 9fa18d9a4b, but it
doesn't makes sense because we are raising an error.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Florian Pritz 2012-04-06 23:50:37 +02:00 committed by Dan McGee
parent a8f03d07c7
commit 297916e6a2
1 changed files with 2 additions and 2 deletions

View File

@ -136,12 +136,12 @@ fi
if [[ ! -f $1 ]]; then
error "$(gettext "File '%s' does not exist")" "$1"
exit 0
exit 1
fi
if [[ ! -f $2 ]]; then
error "$(gettext "File '%s' does not exist")" "$2"
exit 0
exit 1
fi
if ! type xdelta3 &>/dev/null; then