diff options
author | Chris Wilson <chris+github@qwirx.com> | 2007-10-17 12:53:29 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2007-10-17 12:53:29 +0000 |
commit | 213ee3a965d0b0dcba7207917ad7654d31d01edf (patch) | |
tree | b264ad9df54b1d0e5d188baea1fdce2179d4e574 /lib | |
parent | 10d5c119ea513a17ad9fad2c65942d482aa317dd (diff) |
Record the exit status of the daemon when running as a service, and
return it to Windows so that Windows doesn't tell the admin that
"the service did not report an error" when it stopped unexpectedly.
When failing to contact the SCM, report a textual error message as
well as the error code.
Make OurService() take a const char * instead of char *, so that we can
pass it a std::string.c_str().
InstallService creates service using "-s" option instead of "--service",
which no longer works once we use getopt() for option processing
(to follow).
(merges [1853])
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions