Fix exit code when installing tincd as a service on Windows.
This commit is contained in:
parent
e5e96882c3
commit
eb430005c7
1 changed files with 1 additions and 1 deletions
|
@ -212,7 +212,7 @@ bool detach(void) {
|
|||
}
|
||||
#else
|
||||
if(!statushandle)
|
||||
exit(install_service());
|
||||
exit(!install_service());
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue