Merge pull request #524 from awigen/update-linux-flash-script

Update Linux flash script
This commit is contained in:
Ben V. Brown
2019-12-24 11:57:27 +11:00
committed by GitHub

View File

@@ -37,7 +37,7 @@ function enable_gautomount {
}
function is_attached {
output=`lsblk -b --raw --output NAME,MODEL | grep 'DFU\\\\x20Disk'`
output=`lsblk -b --raw --output NAME,MODEL | grep 'DFU.*Disk'`
if [ $? -ne 0 ]; then
return 1
fi