]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(zfcp_rules): correct shellcheck regression when parsing ccw args master
authorIhno Krumreich <ihno@suse.com>
Wed, 28 Feb 2024 07:24:35 +0000 (08:24 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Thu, 21 Mar 2024 11:26:34 +0000 (11:26 +0000)
Fixes 032ecd95c94b77f3f08237e0f765b355dacb9573

modules.d/95zfcp_rules/parse-zfcp.sh

index 5e7d90951ee3976c9e0fc2bf0e7be263a58a2e95..a474b81b07af8ef0cef93692a4a7be7bfe53abc2 100755 (executable)
@@ -63,7 +63,8 @@ for zfcp_arg in $(getargs root=) $(getargs resume=); do
         if [ -n "$ccw_arg" ]; then
             OLDIFS="$IFS"
             IFS="-"
-            set -- "$ccw_arg"
+            # shellcheck disable=SC2086
+            set -- $ccw_arg
             IFS="$OLDIFS"
             _wwpn=${4%:*}
             _lun=${4#*:}