From 8b2582d772d951a9fe9c15447749ec23239a392b Mon Sep 17 00:00:00 2001 From: Nathanne Isip Date: Mon, 11 Nov 2024 00:31:57 +0800 Subject: [PATCH] Fixed exit return code on the main source file. --- src/N8.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/N8.cpp b/src/N8.cpp index d676745..111111f 100644 --- a/src/N8.cpp +++ b/src/N8.cpp @@ -184,13 +184,13 @@ auto main(int argc, char** argv) -> int { if(argParse.hasParameter("r")) { Runtime::repl(); - return 1; + return 0; } else if(argc > 1) return interpreter(argParse.getInputFiles()); printBanner(argParse); - return 1; + return 0; } #else