Skip to content

Commit

Permalink
core: grep: Use long option variant for readability
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 Sep 12, 2018
1 parent f4dc86b commit e6cba90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/woeusb
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ check_is_target_device_busy(){

if [ "$(mount\
| grep\
-c\
--count\
--fixed-strings\
"${device}"
)" -ne 0 ]; then
Expand All @@ -840,7 +840,7 @@ check_source_and_target_not_busy(){

if [ "$(mount\
| grep\
-c\
--count\
--fixed-strings\
"${source_media}"
)" != 0 ]; then
Expand All @@ -851,7 +851,7 @@ check_source_and_target_not_busy(){
if [ "${install_mode}" = "partition" ]; then
if [ "$(mount\
| grep\
-c\
--count\
--fixed-strings\
"${target_partition}"
)" != 0 ]; then
Expand Down

0 comments on commit e6cba90

Please sign in to comment.