From e65b09608721596b9c1a6f7415d6f962d5207bf5 Mon Sep 17 00:00:00 2001 From: Ihno Krumreich Date: Wed, 28 Feb 2024 08:24:35 +0100 Subject: [PATCH] fix(zfcp_rules): correct shellcheck regression when parsing ccw args Fixes 032ecd95c94b77f3f08237e0f765b355dacb9573 bsc#1220485 --- modules.d/95zfcp_rules/parse-zfcp.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.d/95zfcp_rules/parse-zfcp.sh b/modules.d/95zfcp_rules/parse-zfcp.sh index d217c45c4f..b30cb45672 100755 --- a/modules.d/95zfcp_rules/parse-zfcp.sh +++ b/modules.d/95zfcp_rules/parse-zfcp.sh @@ -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#*:}