diff options
Diffstat (limited to 'src/lua.c')
-rw-r--r-- | src/lua.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lua.c b/src/lua.c index 3a8f183..ad1ded6 100644 --- a/src/lua.c +++ b/src/lua.c @@ -367,6 +367,7 @@ static int handle_image (lua_State *L, char **argv, int n) { lua_insert(L, -(narg+1)); if (status != 0) return status; status = docall(L, narg, 0); + if (status != 0) return report(L, status); status = load_definitions(L); if (status != 0) return 0; /* call main() */ |