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:
parent
a8f03d07c7
commit
297916e6a2
1 changed files with 2 additions and 2 deletions
|
@ -136,12 +136,12 @@ fi
|
||||||
|
|
||||||
if [[ ! -f $1 ]]; then
|
if [[ ! -f $1 ]]; then
|
||||||
error "$(gettext "File '%s' does not exist")" "$1"
|
error "$(gettext "File '%s' does not exist")" "$1"
|
||||||
exit 0
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -f $2 ]]; then
|
if [[ ! -f $2 ]]; then
|
||||||
error "$(gettext "File '%s' does not exist")" "$2"
|
error "$(gettext "File '%s' does not exist")" "$2"
|
||||||
exit 0
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! type xdelta3 &>/dev/null; then
|
if ! type xdelta3 &>/dev/null; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue