diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lua_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua_api.c b/src/lua_api.c index 05742cc..cd21064 100644 --- a/src/lua_api.c +++ b/src/lua_api.c @@ -103,7 +103,7 @@ static int execute_command(lua_State *L, const char *line) { if (status == -1) { fprintf(stderr, "lush: Expected end of quoted string\n"); - } else if (lush_run(L, args, status) == 0) { + } else if (lush_run(L, args, status) != 0) { exit(1); } |
