• src/sbbs3/exec.cpp js_internal.cpp sbbs.h

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Tue Jan 20 00:28:01 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/a6746a0a5757f5de8b0e41f3
    Modified Files:
    src/sbbs3/exec.cpp js_internal.cpp sbbs.h
    Log Message:
    Don't set the return value of a script -1 if it was auto-terminated

    This caused unnecessary logged-errors, e.g.
    evnt AVAT-OUT Timed event: '?avatars export -share' returned -1

    this could happen if scripts (e.g. timed events) were still running at the time of termination and they were auto-terminated. So we'll just set the default return value 0 to instead. A script author can set the exit_code property
    to a non-zero number if they really want an error or other notification to happen even if/when the script is auto-terminated.

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