Handle cancellation properly

This commit is contained in:
Joshua Boniface 2021-12-13 17:24:33 -05:00
parent c001769d1b
commit 5e5b4db7ca
1 changed files with 1 additions and 0 deletions

View File

@ -228,6 +228,7 @@ seed_config() {
echo "WARNING! All data on block device ${target_disk} will be wiped!"
echo -n "Press any key within 15 seconds to cancel... "
if read -t 15; then
DONE="c"
exit 0
fi
echo