diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-26 18:21:04 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-26 18:21:04 -0800 |
commit | f3dd5415616f50d0f5413d944b83176a09cf9f5e (patch) | |
tree | b9d6abd68a4e10306c79d2203afb9dfa6dc72ea1 | |
parent | 555159fb9a8d41bd1ec0d2a70aadc9c498c372ba (diff) | |
download | teliva-f3dd5415616f50d0f5413d944b83176a09cf9f5e.tar.gz |
.
-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() */ |