1
0
Fork 0
forked from mirrors/openup

Run check_openupd() after option parsing (fixes XXX).

This commit is contained in:
Antoine Jacoutot 2013-09-04 17:59:10 +02:00
commit 181612ca78

11
openup
View file

@ -223,12 +223,13 @@ while getopts 'KScn' arg; do
done
[ $# = $(($OPTIND-1)) ] || usage
check_openupd
if [ "${checkmode}" ]; then
if [ -n "${nosig}" -o -n "${dryrun}" ]; then
usage
fi
fi
# XXX
#if [ -n "${nosig}" -o -n "${dryrun}" -a -n "${dryrun}" ]; then
# usage
#fi
check_openupd
if [ "${checkmode}" ]; then
check_vuxml