[LBBS-161] mod_sysop: Console interactivity detection is not reliable
Issue highlighted by this commit: https://github.com/InterLinked1/lbbs/commit/380ead3d65091766a955b871084878fd58322ead
Although this helps for now, the above is a band-aid solution. We need a more robust, foolproof solution that is not timing-dependent.
The rsysop program should do something to explicitly indicate to mod_sysop whether the connection is interactive or not.
The change doesn't need to be backwards-compatible, since rsysop and mod_sysop should get updated at the same time on a system.
As long as we are making broad changes to how rsysop works, it would also be good to be able to receive the return status of a CLI command back and have rsysop exit non-zero if the CLI command returned non-zero.
Comments
You must be logged in to leave a comment.