Merge pull request #2 from mdPlusPlus/master

Removing spaces between IDs, because they result in error message (invalid parameter)
master
Trent Arcuri 6 years ago committed by GitHub
commit 2f2d9251e6

@ -87,9 +87,9 @@ makefile()
printf "options vfio-pci ids=" >> $genfile
IFS=" "
for line in $(cat $tmpfile); do
printf "${lspciid[$line]}, " >> $genfile
printf "${lspciid[$line]}," >> $genfile
done
truncate -s-2 $genfile #Fix trailing comma
truncate -s-1 $genfile #Fix trailing comma
echo "$genfile written successfully."
}

Loading…
Cancel
Save