Skip to content

Commit 5d2bda4

Browse files
Ihno Krumreichjohannbg
authored andcommitted
fix(zfcp_rules): correct shellcheck regression when parsing ccw args
Fixes 032ecd9
1 parent 4980bad commit 5d2bda4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ for zfcp_arg in $(getargs root=) $(getargs resume=); do
6363
if [ -n "$ccw_arg" ]; then
6464
OLDIFS="$IFS"
6565
IFS="-"
66-
set -- "$ccw_arg"
66+
# shellcheck disable=SC2086
67+
set -- $ccw_arg
6768
IFS="$OLDIFS"
6869
_wwpn=${4%:*}
6970
_lun=${4#*:}

0 commit comments

Comments
 (0)