forked from mirrors/openup
Run check_openupd() after option parsing (fixes XXX).
This commit is contained in:
parent
a3218e28a6
commit
181612ca78
1 changed files with 6 additions and 5 deletions
11
openup
11
openup
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue