Skip to content
Snippets Groups Projects
Commit f8cdfb7e authored by Recolic Keghart's avatar Recolic Keghart
Browse files

fix

parent 24d8d7b4
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ inputfile="$1"
while IFS= read -r line; do
matched=0
if [[ "$line" == *"\tlinux\t/"* ]]; then
if [[ "$line" == *"$(printf "\tlinux\t/")"* ]]; then
for hostname in "${!map_hostname_to_kparam[@]}"; do
# Assuming that, the kimg filename contains "vmlinuz-xxx-$hostname ", in lowercase. That's important!
[[ "$line" == *"-$hostname "* ]] &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment