]> git.meshlink.io Git - meshlink/commitdiff
Fix exit code when installing tincd as a service on Windows.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 21 Jul 2012 15:10:10 +0000 (17:10 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 21 Jul 2012 15:10:10 +0000 (17:10 +0200)
src/process.c

index 65792598d512ec9c2524dc75d51d89f6aa2d5ed7..0e33f2643b68bee71b2159088995d04824408684 100644 (file)
@@ -212,7 +212,7 @@ bool detach(void) {
                }
 #else
                if(!statushandle)
-                       exit(install_service());
+                       exit(!install_service());
 #endif
        }