Skip to content

Commit

Permalink
src/data/listUsb: Fix regression that model name's additional whitesp…
Browse files Browse the repository at this point in the history
…ace are no longer stripped

Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Jun 11, 2017
1 parent 19a8b9e commit 58afd37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/data/listUsb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ while read block_device_name; do
--noheadings\
--nodeps\
"${block_device}"\
| sed 's/\s//g'
)"

# It's possible that the device has no model(e.g. loop device)
Expand Down

0 comments on commit 58afd37

Please sign in to comment.