kexec-sign-config: fix args to getopts

The -u arg does not take a parameter, so remove the trailing colon.

Fixes /boot hashes not being updated when update_checksums() is called.

Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
This commit is contained in:
Matt DeVillier 2020-11-06 13:21:35 -06:00 committed by tlaurion
parent b94edd1d6c
commit f445b29dbe

View File

@ -6,7 +6,7 @@ set -e -o pipefail
rollback="n"
update="n"
while getopts "p:c:u:r" arg; do
while getopts "p:c:ur" arg; do
case $arg in
p) paramsdir="$OPTARG" ;;
c) counter="$OPTARG"; rollback="y" ;;