fix: shellcheck for mkinitrd-dracut.sh

master
Harald Hoyer 2021-02-12 13:26:10 +01:00 committed by Harald Hoyer
parent ecf7e74f4a
commit 802f8b6218
1 changed files with 1 additions and 1 deletions

View File

@ -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}"