mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 13:22:28 +00:00
Compare commits
3 Commits
8cff336053
...
9775b7ff82
Author | SHA1 | Date | |
---|---|---|---|
|
9775b7ff82 | ||
|
e96b75a890 | ||
|
cec1cbb9a8 |
|
@ -233,7 +233,8 @@ write_iso(){
|
|||
printf "%b" "${RED}WARNING: This will erase all data on ${USB_DEVICE}. Are you sure you want to continue? (y/N): ${RC}"
|
||||
read -r CONFIRMATION
|
||||
|
||||
if [ "$CONFIRMATION" != "yes" ]; then
|
||||
CONFIRMATION="$(echo "$CONFIRMATION" | tr '[:upper:]' '[:lower:]')"
|
||||
if [ "${CONFIRMATION}" != "yes" ] && [ "${CONFIRMATION}" != "y" ]; then
|
||||
printf "%b\n" "${YELLOW}Operation cancelled.${RC}"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user