• src/sbbs3/exec.cpp main.cpp

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thu Aug 8 19:13:37 2024
    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