mirror of
https://github.com/linuxboot/heads.git
synced 2025-04-12 05:40:09 +00:00
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:
parent
b94edd1d6c
commit
f445b29dbe
@ -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" ;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user