Browse Source

fix: shellcheck for 50-dracut.install

master
Harald Hoyer 4 years ago committed by Harald Hoyer
parent
commit
95013ffce9
  1. 1
      50-dracut.install

1
50-dracut.install

@ -48,6 +48,7 @@ case "$COMMAND" in @@ -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

Loading…
Cancel
Save