Fix exit code when installing tincd as a service on Windows.

This commit is contained in:
Guus Sliepen 2012-07-21 17:10:10 +02:00
parent e5e96882c3
commit eb430005c7

View file

@ -212,7 +212,7 @@ bool detach(void) {
} }
#else #else
if(!statushandle) if(!statushandle)
exit(install_service()); exit(!install_service());
#endif #endif
} }