From c5a08d7d60cbcfee646f61db4b827d63937361b3 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 19 Sep 2004 07:05:59 +0000 Subject: [PATCH] Pass return code from main() to exit(). --- src/lib/user/entry.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/user/entry.c b/src/lib/user/entry.c index 4827b03..a707c70 100644 --- a/src/lib/user/entry.c +++ b/src/lib/user/entry.c @@ -6,6 +6,5 @@ void _start (int argc, char *argv[]); void _start (int argc, char *argv[]) { - main (argc, argv); - exit (0); + exit (main (argc, argv)); } -- 2.30.2