From: Guus Sliepen Date: Sat, 21 Jul 2012 15:10:10 +0000 (+0200) Subject: Fix exit code when installing tincd as a service on Windows. X-Git-Tag: import-tinc-1.1~332 X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=eb430005c74b6b5f717e7e264afa3bd35284740d;p=meshlink Fix exit code when installing tincd as a service on Windows. --- diff --git a/src/process.c b/src/process.c index 65792598..0e33f264 100644 --- a/src/process.c +++ b/src/process.c @@ -212,7 +212,7 @@ bool detach(void) { } #else if(!statushandle) - exit(install_service()); + exit(!install_service()); #endif }