summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/system.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-10-01 12:13:29 +0000
committerjkh <jkh@FreeBSD.org>1996-10-01 12:13:29 +0000
commit49e94fab072f6919ea1b120de2c7e79d92e87cfa (patch)
tree7860dc8c51194f54cbf3f8962f3dc0a4b41808ba /release/sysinstall/system.c
parent9c042c8f5138bcdf7e2320a667ec84e19e2903c0 (diff)
downloadFreeBSD-src-49e94fab072f6919ea1b120de2c7e79d92e87cfa.zip
FreeBSD-src-49e94fab072f6919ea1b120de2c7e79d92e87cfa.tar.gz
Installation cleanup, round II.
Diffstat (limited to 'release/sysinstall/system.c')
-rw-r--r--release/sysinstall/system.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/release/sysinstall/system.c b/release/sysinstall/system.c
index 5aa7f0c..c6580ab 100644
--- a/release/sysinstall/system.c
+++ b/release/sysinstall/system.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: system.c,v 1.64 1996/09/26 21:07:08 pst Exp $
+ * $Id: system.c,v 1.65 1996/10/01 04:56:34 jkh Exp $
*
* Jordan Hubbard
*
@@ -37,8 +37,12 @@
static void
handle_intr(int sig)
{
+ WINDOW *save = savescr();
+
if (!msgYesNo("Are you sure you want to abort the installation?"))
systemShutdown(1);
+ else
+ restorescr(save);
}
/* Expand a file into a convenient location, nuking it each time */
OpenPOWER on IntegriCloud