From: Andrew Engelbrecht Date: Wed, 23 Sep 2020 19:40:50 +0000 (-0400) Subject: prettify error message output X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=36f232d04ef0a6098edebc70e15589b0e374660f;p=fsf-member-card-builder.git prettify error message output --- diff --git a/live-usb-loader.sh b/live-usb-loader.sh index b41f279..7e0585b 100755 --- a/live-usb-loader.sh +++ b/live-usb-loader.sh @@ -21,12 +21,14 @@ set -e usage(){ +echo echo You need to run this script as root echo Usage: sudo $0 distro.iso /dev/sdX echo Example: sudo $0 foobar_5.0_i386.iso /dev/sdb echo echo WARNING!: this script will delete all data on the whole disk you pass as the second parameter. Make sure it is your USB drive and not your internal hard drive! echo ANOTHER WARNING!: This script can bite your dog. Use it with care, backup your data. +echo exit 1 }