From 17a2f763a4c98da908e06f78f3e75655fbc1aa65 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 12 Jan 2005 13:31:41 +0000 Subject: fix buggy blino commit which caused install failures to cause reboot without prompting --- mdk-stage1/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdk-stage1/init.c') diff --git a/mdk-stage1/init.c b/mdk-stage1/init.c index 81252a0ea..f5a46010b 100644 --- a/mdk-stage1/init.c +++ b/mdk-stage1/init.c @@ -352,7 +352,7 @@ void unmount_filesystems(void) continue; #endif printf("\tumount failed: %s\n", fs[i].name); - if (strcmp(fs[i].fs, "ext2") == 0) nb++; /* don't count not-ext2 umount failed */ + if (strcmp(fs[i].fs, "ext3") == 0) nb++; /* don't count not-ext3 umount failed */ } #ifdef MANDRAKE_MOVE @@ -527,7 +527,6 @@ int main(int argc, char **argv) if (in_reboot()) { // any exitcode is valid if we're in_reboot - abnormal_termination = 1; } else if (WIFEXITED(wait_status) && WEXITSTATUS(wait_status) == exit_value_proceed) { kill(klog_pid, 9); printf("proceeding, please wait...\n"); @@ -537,6 +536,7 @@ int main(int argc, char **argv) if (WIFSIGNALED(wait_status)) printf("-- received signal %d", WTERMSIG(wait_status)); printf("\n"); + abnormal_termination = 1; } if (!abnormal_termination) { -- cgit v1.2.1