Skip to content

Commit

Permalink
Merge pull request #316 from aafeijoo-suse/SLE-15-SP5_Update-bsc1220485
Browse files Browse the repository at this point in the history
fix(zfcp_rules): correct shellcheck regression when parsing ccw args (bsc#1220485) (SLE15-SP5:Update)
  • Loading branch information
aafeijoo-suse authored Feb 28, 2024
2 parents cc4be1d + 7109647 commit 36f9329
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 36f9329

Please sign in to comment.