diff options
Diffstat (limited to 'ntpd/ntp_timer.c')
| -rw-r--r-- | ntpd/ntp_timer.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ntpd/ntp_timer.c b/ntpd/ntp_timer.c index 78c81b620b18..9ee35f812d48 100644 --- a/ntpd/ntp_timer.c +++ b/ntpd/ntp_timer.c @@ -276,6 +276,12 @@ intres_timeout_req( u_int seconds /* 0 cancels */ ) { +#if defined(HAVE_DROPROOT) && defined(NEED_EARLY_FORK) + if (droproot) { + worker_idle_timer = 0; + return; + } +#endif if (0 == seconds) { worker_idle_timer = 0; return; |
