dracut-functions: fix the word splitting

master
Lukas Nykryn 2018-08-09 12:14:20 +02:00 committed by Harald Hoyer
parent a0c915b1e4
commit a762dedb60
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ get_loaded_kernel_modules ()
local modules=( )
while read _module _size _used _used_by; do
modules+=( "$_module" )
done <<< $(lsmod | sed -n '1!p')
done <<< "$(lsmod | sed -n '1!p')"
printf '%s\n' "${modules[@]}" | sort
}