• src/sbbs3/exec.cpp main.c

    From Rob Swindell (on Windows@VERT to Git commit to main/sbbs/m on Thursday, August 08, 2024 19:13:00
    https://gitlab.synchro.net/main/sbbs/-/commit/007744185fd8bda6073d96dd
    Modified Files:
    src/sbbs3/exec.cpp main.cpp
    Log Message:
    Fix infinite loop of error msgs/notifications when JS shell has syntax error

    js_execfile() now returns -1 when JS_ExecuteScript() return false (failure).

    The main command-shell loop will now terminate when js_execfile() returns anything but 0 (success), similar to how PCMS (Baja-compiled) command-shell .bin file parse errors are handled.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net