diff --git a/openup b/openup index a942ea7..72a9c1f 100755 --- a/openup +++ b/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