From 5e3cc263abfb62f49e704709949f373c133b03a1 Mon Sep 17 00:00:00 2001 From: bol-van Date: Fri, 23 Aug 2024 21:27:20 +0300 Subject: [PATCH] tpws: remove cygwin ifdef --- tpws/tpws.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tpws/tpws.c b/tpws/tpws.c index bf44fde..693fa71 100644 --- a/tpws/tpws.c +++ b/tpws/tpws.c @@ -728,10 +728,8 @@ void parse_params(int argc, char *argv[]) fprintf(stderr, "cannot create %s\n", params.debug_logfile); exit_clean(1); } -#ifndef __CYGWIN__ 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); -#endif params.debug = 1; params.debug_target = LOG_TARGET_FILE; }