From 59c9e662e5b13eb961751da89ae4bbd84b962936 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:58 -0400 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