From 47eda6ebd83785908ac26f8dd06dff36a7d42664 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 31 May 2004 15:50:48 -0300 Subject: [PATCH] main must return status from original main! --- ltests.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ltests.c b/ltests.c index 1d5cfa6b..456c9d91 100644 --- a/ltests.c +++ b/ltests.c @@ -1,5 +1,5 @@ /* -** $Id: ltests.c,v 2.5 2004/04/30 20:13:38 roberto Exp roberto $ +** $Id: ltests.c,v 2.6 2004/05/10 17:50:51 roberto Exp roberto $ ** Internal Module for Debugging of the Lua Implementation ** See Copyright Notice in lua.h */ @@ -1095,8 +1095,7 @@ int main (int argc, char *argv[]) { char *limit = getenv("MEMLIMIT"); if (limit) memcontrol.memlimit = strtoul(limit, NULL, 10); - l_main(argc, argv); - return 0; + return l_main(argc, argv); } #endif