diff options
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; } |
