]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix: shellcheck for 50-dracut.install
authorHarald Hoyer <harald@redhat.com>
Fri, 12 Feb 2021 12:26:09 +0000 (13:26 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 15 Feb 2021 10:00:37 +0000 (11:00 +0100)
50-dracut.install

index 7ea5e170e60877e646bef8cc3736072aa2f72681..70632ec7f3ce592c814003bae44e21522bb7dea1 100755 (executable)
@@ -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