From 5e5b4db7ca315c1101c3e8ec27c533af1d4fb00b Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 13 Dec 2021 17:24:33 -0500 Subject: [PATCH] Handle cancellation properly --- templates/install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/install.sh b/templates/install.sh index 1160771..0c99730 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -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