Browse Source

fix: shellcheck for mkinitrd-suse.sh

master
Harald Hoyer 4 years ago committed by Harald Hoyer
parent
commit
e770ad31a6
  1. 2
      mkinitrd-suse.sh

2
mkinitrd-suse.sh

@ -87,7 +87,7 @@ read_arg() {
else else
for ((i=3; $i <= $#; i++)); do for ((i=3; $i <= $#; i++)); do
# Only read next arg if it not an arg itself. # Only read next arg if it not an arg itself.
if [[ ${@:$i:1} = -* ]];then if [[ ${*:$i:1} = -* ]];then
break break
fi fi
result="$result ${@:$i:1}" result="$result ${@:$i:1}"

Loading…
Cancel
Save