diff options
| author | 2024-09-27 09:33:01 -0400 | |
|---|---|---|
| committer | 2024-09-27 09:33:01 -0400 | |
| commit | 68ce253ca289030922581b10a34094750c34d729 (patch) | |
| tree | 24a8d2a158794a0e42b5a154d3cf595188bd7227 /src/builtins.c | |
| parent | fixed chaining execution attempting to execute operator (diff) | |
added exit api function
Diffstat (limited to 'src/builtins.c')
| -rw-r--r-- | src/builtins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/builtins.c b/src/builtins.c index 6579790..835e7b9 100644 --- a/src/builtins.c +++ b/src/builtins.c @@ -136,9 +136,9 @@ int lush_lua(lua_State *L, char ***args) { // move args forward to any command line args args[0]++; - lua_load_script(L, script, args[0]); + int rc = lua_load_script(L, script, args[0]); // return pointer back to lua file args[0]--; - return 0; + return rc; } |
