scripts/pkgdelta: exit properly on missing args

Removes usage of 'nounset' which, when combined with 'errexit' can cause
undesirable early exits.

Signed-off-by: Dave Reisner <dreisner@archlinux.org>
This commit is contained in:
Dave Reisner 2011-07-28 13:08:37 -04:00
parent e99b6a131e
commit e42d97b737

View File

@ -20,7 +20,6 @@
#
# bash options
set -o nounset
set -o errexit
# gettext initialization
@ -130,7 +129,7 @@ esac
if (( $# != 2 )); then
usage
exit 0
exit 1
fi
if [[ ! -f $1 ]]; then