summaryrefslogtreecommitdiff
path: root/libntp/work_fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'libntp/work_fork.c')
-rw-r--r--libntp/work_fork.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libntp/work_fork.c b/libntp/work_fork.c
index 2aa2d5cd3046..cce686f239cc 100644
--- a/libntp/work_fork.c
+++ b/libntp/work_fork.c
@@ -89,6 +89,8 @@ netwrite(
}
+int set_user_group_ids(void);
+
/* === functions === */
/*
* exit_worker()
@@ -592,6 +594,8 @@ fork_blocking_child(
init_logging("ntp_intres", 0, FALSE);
setup_logfile(NULL);
+ (void) set_user_group_ids();
+
/*
* And now back to the portable code
*/