From b16525aa3b87edac8637dd89ea9436d3e077f30c Mon Sep 17 00:00:00 2001 From: Kenneth Johansson Date: Thu, 19 Sep 2019 12:29:49 +0200 Subject: [PATCH] iopu: fix help printout. getopts string missed the "h" --- iopupgrade/files/sbin/iopu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iopupgrade/files/sbin/iopu b/iopupgrade/files/sbin/iopu index 5b2883500..8003e2bc7 100755 --- a/iopupgrade/files/sbin/iopu +++ b/iopupgrade/files/sbin/iopu @@ -164,7 +164,7 @@ trap finish EXIT trap timeout SIGALRM trap sig_pipe SIGPIPE -while getopts "nrxb" opt; do +while getopts "nrxbh" opt; do case $opt in n) upd_noreboot=1 @@ -184,7 +184,7 @@ while getopts "nrxb" opt; do exit 0 ;; h) - upd_usage + usage exit 1 ;; esac