From 1ccea3128a85d9a72cfd6a46994175364fb726e8 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 22 Oct 1994 02:37:24 +0000 Subject: [PATCH] Fatal() fixed: end_dialog() called too early here. --- sbin/sysinstall/utils.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sbin/sysinstall/utils.c b/sbin/sysinstall/utils.c index 9686eb99710b..d7f07787b3af 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.8 1994/10/22 02:32:16 ache Exp $ + * $Id: utils.c,v 1.9 1994/10/22 02:35:09 ache Exp $ * */ @@ -50,10 +50,9 @@ Fatal(char *fmt, ...) va_start(ap,fmt); vsnprintf(p, 2048, fmt, ap); va_end(ap); - if (dialog_active) { + if (dialog_active) dialog_msgbox("Fatal", p, 12, 75, 1); - end_dialog(); - } else + else fprintf(stderr, "Fatal -- %s", p); free(p); ExitSysinstall();