Browse Source

fix: shellcheck for mkinitrd-dracut.sh

master
Harald Hoyer 4 years ago committed by Harald Hoyer
parent
commit
802f8b6218
  1. 2
      mkinitrd-dracut.sh

2
mkinitrd-dracut.sh

@ -36,7 +36,7 @@ read_arg() { @@ -36,7 +36,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…
Cancel
Save