cf3ba75673
Currently, non-zero exit code is returned for /version, /buildconfig, /help,
/monitor-list, /kbd-list and /kbd-lang-list command-line options for several
clients. This is against conventions because 0 is usually returned in
such cases. Also, there is potentially another problem that the returned
codes overflow on UNIX systems (where the exit code is a number between 0
and 255). Let's fix the clients to return 0 in the mentioned cases to honor
conventions and 1 for the command-line parsing errors (or -1 for clients
who already use that value).
Fixes: https://github.com/FreeRDP/FreeRDP/issues/6686
(cherry picked from commit
|
||
---|---|---|
.. | ||
include | ||
libwinpr | ||
test | ||
tools | ||
.gitignore | ||
CMakeLists.txt | ||
winpr.pc.in | ||
WinPRConfig.cmake.in | ||
wlog.7 |