Handle cancellation properly
This commit is contained in:
parent
c001769d1b
commit
5e5b4db7ca
|
@ -228,6 +228,7 @@ seed_config() {
|
||||||
echo "WARNING! All data on block device ${target_disk} will be wiped!"
|
echo "WARNING! All data on block device ${target_disk} will be wiped!"
|
||||||
echo -n "Press any key within 15 seconds to cancel... "
|
echo -n "Press any key within 15 seconds to cancel... "
|
||||||
if read -t 15; then
|
if read -t 15; then
|
||||||
|
DONE="c"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in New Issue