From d91d7feff0da96aead27211aa193c3ce9e5ed822 Mon Sep 17 00:00:00 2001 From: tg Date: Fri, 10 Nov 2006 03:54:38 +0000 Subject: [PATCH] exit not _exit, 50 text 4 data 1 import --- misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc.c b/misc.c index aa8efe6..5f9e5cb 100644 --- a/misc.c +++ b/misc.c @@ -3,7 +3,7 @@ #include "sh.h" -__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.30 2006/11/10 03:45:57 tg Exp $\t" +__RCSID("$MirOS: src/bin/mksh/misc.c,v 1.31 2006/11/10 03:54:38 tg Exp $\t" MKSH_SH_H_ID); unsigned char chtypes[UCHAR_MAX + 1]; /* type bits for unsigned char */ @@ -1334,7 +1334,7 @@ parse_T(char *fn) case 0: break; default: - _exit(0); + exit(0); } if (setsid() == -1) errorf("chvt: setsid failed");