Skip to content

Commit

Permalink
src/winusb: Be more verbose on lacking space error condition
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁 <[email protected]>
  • Loading branch information
brlin-tw committed Jun 2, 2017
1 parent 9bfc1ed commit 8cab57e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/winusb
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ init(){

if [ "${needed_space}" -gt "${free_space}" ]; then
echo "Error: Not enough free space on '${partition}'!" >&2
echo "Error: We required ${neededspace} bytes but '${partition}' only has ${free_space} bytes." >&2
exit 1
fi

Expand Down

0 comments on commit 8cab57e

Please sign in to comment.