Skip to content

Commit

Permalink
Merge pull request #124 from tMatSuZ/118-missing-dev-prefix-in-autode…
Browse files Browse the repository at this point in the history
…tect-device-linux

[#118]Change block device with path for Linux OS
  • Loading branch information
StefanScherer authored Jun 2, 2018
2 parents bbe4071 + a0f20c2 commit 931a6df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flash
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ case "${OSTYPE}" in
#
# @return _RET the name of the device to use
autodetect_device() {
_RET=$(lsblk -n -o NAME -d | grep mmcblk || true)
_RET=$(lsblk -p -n -o NAME -d | grep mmcblk || true)
}

# Show in the standard output the devices that are a likely
Expand Down

0 comments on commit 931a6df

Please sign in to comment.