Fix tincd terminating immediately on Windows.

This commit is contained in:
Guus Sliepen 2013-02-06 11:30:35 +01:00
parent 9c878bf56f
commit 1135669b3c

View file

@ -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);