mirror of
https://github.com/PassthroughPOST/VFIO-Tools
synced 2024-11-14 18:12:48 +00:00
Merge pull request #2 from mdPlusPlus/master
Removing spaces between IDs, because they result in error message (invalid parameter)
This commit is contained in:
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…
Reference in New Issue
Block a user