fix: shellcheck for 50-dracut.install

master
Harald Hoyer 2021-02-12 13:26:09 +01:00 committed by Harald Hoyer
parent 836e2ffac6
commit 95013ffce9
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ case "$COMMAND" in
unset noimageifnotneeded

for ((i=0; i < "${#BOOT_OPTIONS[@]}"; i++)); do
# shellcheck disable=SC1001
if [[ ${BOOT_OPTIONS[$i]} == root\=PARTUUID\=* ]]; then
noimageifnotneeded="yes"
break