Fix tincd terminating immediately on Windows.
This commit is contained in:
parent
9c878bf56f
commit
1135669b3c
1 changed files with 1 additions and 3 deletions
|
@ -246,9 +246,7 @@ static bool parse_options(int argc, char **argv) {
|
|||
}
|
||||
|
||||
static bool drop_privs(void) {
|
||||
#ifdef HAVE_MINGW
|
||||
return false;
|
||||
#else
|
||||
#ifndef HAVE_MINGW
|
||||
uid_t uid = 0;
|
||||
if (switchuser) {
|
||||
struct passwd *pw = getpwnam(switchuser);
|
||||
|
|
Loading…
Reference in a new issue