diff options
author | Andrew Cady <d@cryptonomic.net> | 2020-11-13 08:36:45 -0500 |
---|---|---|
committer | Andrew Cady <d@cryptonomic.net> | 2020-11-13 08:36:45 -0500 |
commit | fa2c13629e15fe80ad18b214583d9e514f855559 (patch) | |
tree | 689343a34c0bc2bf637d03adc60d51d5250fe5e7 | |
parent | 128fa6834d422bcf195436468927e57f332fd97d (diff) |
improve error message
-rwxr-xr-x | src/usb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ choose_usb() | |||
52 | set -- "$@" "$dev" | 52 | set -- "$@" "$dev" |
53 | done | 53 | done |
54 | if [ $# = 0 ]; then | 54 | if [ $# = 0 ]; then |
55 | die "no usb device found" | 55 | die "no USB storage device found" |
56 | elif [ $# = 1 ]; then | 56 | elif [ $# = 1 ]; then |
57 | [ "$NO_ACT" ] && confirm=confirm_usb_lax || confirm=confirm_usb_strict | 57 | [ "$NO_ACT" ] && confirm=confirm_usb_lax || confirm=confirm_usb_strict |
58 | $confirm "$1" || exit | 58 | $confirm "$1" || exit |