mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
tpws: remove cygwin ifdef
This commit is contained in:
parent
fe7a7f30a9
commit
5e3cc263ab
@ -728,10 +728,8 @@ void parse_params(int argc, char *argv[])
|
|||||||
fprintf(stderr, "cannot create %s\n", params.debug_logfile);
|
fprintf(stderr, "cannot create %s\n", params.debug_logfile);
|
||||||
exit_clean(1);
|
exit_clean(1);
|
||||||
}
|
}
|
||||||
#ifndef __CYGWIN__
|
|
||||||
if (params.droproot && chown(params.debug_logfile, params.uid, -1))
|
if (params.droproot && chown(params.debug_logfile, params.uid, -1))
|
||||||
fprintf(stderr, "could not chown %s. log file may not be writable after privilege drop\n", params.debug_logfile);
|
fprintf(stderr, "could not chown %s. log file may not be writable after privilege drop\n", params.debug_logfile);
|
||||||
#endif
|
|
||||||
params.debug = 1;
|
params.debug = 1;
|
||||||
params.debug_target = LOG_TARGET_FILE;
|
params.debug_target = LOG_TARGET_FILE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user