~bakpakin/janet

0745c15d7b953312bdc2f5c3d82a1ad98d342563 — Calvin Rose 4 years ago 2904c19 net
Fix return value from shell.c
1 files changed, 2 insertions(+), 1 deletions(-)

M src/mainclient/shell.c
M src/mainclient/shell.c => src/mainclient/shell.c +2 -1
@@ 1011,11 1011,12 @@ int main(int argc, char **argv) {
    JanetFiber *fiber = janet_fiber(janet_unwrap_function(mainfun), 64, 1, mainargs);
    fiber->env = env;
    status = janet_continue(fiber, janet_wrap_nil(), &out);
    if (status != JANET_SIGNAL_OK && status < JANET_SIGNAL_USER0) {
    if (status != JANET_SIGNAL_OK && status != JANET_SIGNAL_EVENT) {
        janet_stacktrace(fiber, out);
    }

#ifdef JANET_NET
    status = JANET_SIGNAL_OK;
    janet_loop();
#endif