From 80b39d83c3512e1dd627842e64c69841638d9088 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 26 Oct 1999 09:00:12 -0200 Subject: [PATCH] default `success' for exit is more useful. --- liolib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liolib.c b/liolib.c index fcf270a1..8db4e761 100644 --- a/liolib.c +++ b/liolib.c @@ -1,5 +1,5 @@ /* -** $Id: liolib.c,v 1.47 1999/10/11 16:06:01 roberto Exp roberto $ +** $Id: liolib.c,v 1.48 1999/10/19 13:33:22 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ @@ -500,7 +500,7 @@ static void setloc (void) { static void io_exit (void) { - exit(luaL_opt_int(1, EXIT_FAILURE)); + exit(luaL_opt_int(1, EXIT_SUCCESS)); } /* }====================================================== */