fix(zfcp_rules): correct shellcheck regression when parsing ccw args

Fixes 032ecd95c9
This commit is contained in:
Ihno Krumreich 2024-02-28 08:24:35 +01:00 committed by Jóhann B. Guðmundsson
parent 4980bad347
commit 5d2bda46f4

View File

@ -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#*:}