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
|
#else
|
||||||
if(!statushandle)
|
if(!statushandle)
|
||||||
exit(install_service());
|
exit(!install_service());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue