diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1018,7 +1018,6 @@ main(int ac, char **av) | |||
1018 | if (test_flag) | 1018 | if (test_flag) |
1019 | exit(0); | 1019 | exit(0); |
1020 | 1020 | ||
1021 | #ifndef HAVE_CYGWIN | ||
1022 | /* | 1021 | /* |
1023 | * Clear out any supplemental groups we may have inherited. This | 1022 | * Clear out any supplemental groups we may have inherited. This |
1024 | * prevents inadvertent creation of files with bad modes (in the | 1023 | * prevents inadvertent creation of files with bad modes (in the |
@@ -1028,7 +1027,6 @@ main(int ac, char **av) | |||
1028 | */ | 1027 | */ |
1029 | if (setgroups(0, NULL) < 0) | 1028 | if (setgroups(0, NULL) < 0) |
1030 | debug("setgroups() failed: %.200s", strerror(errno)); | 1029 | debug("setgroups() failed: %.200s", strerror(errno)); |
1031 | #endif /* !HAVE_CYGWIN */ | ||
1032 | 1030 | ||
1033 | /* Initialize the log (it is reinitialized below in case we forked). */ | 1031 | /* Initialize the log (it is reinitialized below in case we forked). */ |
1034 | if (debug_flag && !inetd_flag) | 1032 | if (debug_flag && !inetd_flag) |