1
0
Fork 0
forked from mirrors/openup

Simplify.

This commit is contained in:
Antoine Jacoutot 2014-09-11 18:39:35 +02:00
commit 4e3508c8eb

7
openup
View file

@ -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