Parent Directory | Revision Log
Make rdesktop return 0 only if a RDP_PDU_DISCONNECT was received, otherwise return 2 (except for usage errors, where it still returns 1). Documented exit codes of rdesktop in doc/exit_codes.txt.
1 | The exit codes of rdesktop are: |
2 | |
3 | 0 Everything went well. Specifically, the server sent a |
4 | RDP_PDU_DEACTIVATE which seems to be a signal that the |
5 | session has ended normally. |
6 | |
7 | 1 Usage error, i.e. wrong commandline option, invalid hostname |
8 | or similar. |
9 | |
10 | 2 End of connection by other reason than received |
11 | RDP_PDU_DEACTIVATE. |
ViewVC Help | |
Powered by ViewVC 1.1.26 |