fix: shellcheck for mkinitrd-suse.sh
parent
802f8b6218
commit
e770ad31a6
|
@ -87,7 +87,7 @@ read_arg() {
|
|||
else
|
||||
for ((i=3; $i <= $#; i++)); do
|
||||
# Only read next arg if it not an arg itself.
|
||||
if [[ ${@:$i:1} = -* ]];then
|
||||
if [[ ${*:$i:1} = -* ]];then
|
||||
break
|
||||
fi
|
||||
result="$result ${@:$i:1}"
|
||||
|
|
Loading…
Reference in New Issue