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: release-1.1pre3~82 X-Git-Url: https://git.tinc-vpn.org/git/browse?a=commitdiff_plain;h=eb430005c74b6b5f717e7e264afa3bd35284740d;p=tinc 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 }