diff --git a/openup b/openup index 10e4abe..4f13332 100755 --- a/openup +++ b/openup @@ -260,12 +260,6 @@ while getopts 'KSc' arg; do done [ $# = $(($OPTIND-1)) ] || usage -if [ "${checkmode}" ]; then - if [ -n "${nosig}" ]; then - usage - fi -fi - if [ -f ${_PID} ]; then pr_err "openup is already running ($(cat ${_PID})):" pr_err "${_PID}" @@ -273,6 +267,7 @@ if [ -f ${_PID} ]; then fi echo $$ >${_PID} +[ -n "${checkmode}" -a -n "${nosig}" ] && usage check_openupd if [ -n "${exclude_kernel}" ]; then