32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
|
|
From 5d2bda46f4e75e85445ee4d3bd3f68bf966287b9 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Ihno Krumreich <ihno@suse.com>
|
||
|
|
Date: Wed, 28 Feb 2024 08:24:35 +0100
|
||
|
|
Subject: [PATCH] fix(zfcp_rules): correct shellcheck regression when parsing
|
||
|
|
ccw args
|
||
|
|
|
||
|
|
Fixes 032ecd95c94b77f3f08237e0f765b355dacb9573
|
||
|
|
|
||
|
|
Conflict:NA
|
||
|
|
Reference:https://github.com/dracutdevs/dracut/commit/5d2bda46f4e75e85445ee4d3bd3f68bf966287b9
|
||
|
|
---
|
||
|
|
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 5e7d9095..a474b81b 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#*:}
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|