Skip to content

Commit

Permalink
remove -q option for umount
Browse files Browse the repository at this point in the history
because this param is not supported on ubuntu 18.04 (and prior?)
  • Loading branch information
Gabri3lZ committed Sep 13, 2019
1 parent 54f4b02 commit 6481f7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ shouldContinueCheck

# read some basic information from selected device

umount -q ${devicePath}?*
umount ${devicePath}?*

totalSectors=$(blockdev --getsz $devicePath)
lastUsableSector=$(($totalSectors - 34))
Expand Down

0 comments on commit 6481f7a

Please sign in to comment.