Skip to content

Commit

Permalink
fix(zfcp_rules): correct shellcheck regression when parsing ccw args
Browse files Browse the repository at this point in the history
Fixes 032ecd9
  • Loading branch information
Ihno Krumreich authored and johannbg committed Mar 21, 2024
1 parent 4980bad commit 5d2bda4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules.d/95zfcp_rules/parse-zfcp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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#*:}
Expand Down

0 comments on commit 5d2bda4

Please sign in to comment.