diff options
author | ache <ache@FreeBSD.org> | 1994-10-24 03:55:25 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-10-24 03:55:25 +0000 |
commit | cb02d5590505d1ce7a482263d0b8db89c63d9ad9 (patch) | |
tree | 08b906777881ba7c7a456c3189dbac390b51ee6f | |
parent | f6e61eb7fd027a75244156df74cd5581bf52f236 (diff) | |
download | FreeBSD-src-cb02d5590505d1ce7a482263d0b8db89c63d9ad9.zip FreeBSD-src-cb02d5590505d1ce7a482263d0b8db89c63d9ad9.tar.gz |
Clear screen on exit per Paul request
-rw-r--r-- | sbin/sysinstall/utils.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sbin/sysinstall/utils.c b/sbin/sysinstall/utils.c index d7f0778..16f2964 100644 --- a/sbin/sysinstall/utils.c +++ b/sbin/sysinstall/utils.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: utils.c,v 1.9 1994/10/22 02:35:09 ache Exp $ + * $Id: utils.c,v 1.10 1994/10/22 02:37:24 ache Exp $ * */ @@ -91,11 +91,11 @@ Abort() void ExitSysinstall() { + if (dialog_active) { + clear(); + dialog_update(); + } if (getpid() == 1) { - if (dialog_active) { - clear(); - dialog_update(); - } if (reboot(RB_AUTOBOOT) == -1) if (dialog_active) { clear(); @@ -106,8 +106,8 @@ ExitSysinstall() while(1); } else { if (dialog_active) { - dialog_update(); end_dialog(); + dialog_active = 0; } exit(0); } |