Skip to content

Commit

Permalink
Cosmetic fixes
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁(Buo-ren, Lin) <[email protected]>
  • Loading branch information
brlin-tw committed Dec 24, 2018
1 parent 9e0aed6 commit 18e098b
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions src/woeusb
Original file line number Diff line number Diff line change
Expand Up @@ -962,15 +962,16 @@ check_if_the_drive_is_really_wiped(){
'Ensure that %s is really wiped...\n' \
"${target_device}"

if [ "$(env LANG=C \
lsblk \
--noheadings \
--output TYPE \
"${target_device}" \
| grep \
--count \
--fixed-strings \
part
if [ "$(
env LANG=C \
lsblk \
--noheadings \
--output TYPE \
"${target_device}" \
| grep \
--count \
--fixed-strings \
part
)" -ne 0 ]; then
printf_with_color \
red \
Expand Down

0 comments on commit 18e098b

Please sign in to comment.