Closed p2004a closed 1 year ago
SPADS currently returns non-zero exit code when the failure is due to SPADS itself or its configuration (for example if a library cannot be loaded, or if the configuration is invalid...). When the lobby server says the password is invalid, SPADS itself is actually working correctly and its configuration is syntactically correct, so it's a different level of error. I will see what I can do to return exit code 2 in such case...
Actually I revamped SPADS exit code management in SPADS 0.13.13, the exit codes can be found here.
For example the exit code in case of login denied is now 50
.
Great! Thanks a lot!
When spads fails to connect to the lobby,
the spads exits, but returns code 0, which means success. What I expect it return a non-zero exit status when it exits because of error.