mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-26 07:55:28 +03:00
fix(zfcp_rules): correct shellcheck regression when parsing ccw args
Fixes 032ecd95c9
This commit is contained in:
parent
4980bad347
commit
5d2bda46f4
@ -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#*:}
|
||||
|
Loading…
Reference in New Issue
Block a user