diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nxt_process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_process.c b/src/nxt_process.c index f51de42e..59520297 100644 --- a/src/nxt_process.c +++ b/src/nxt_process.c @@ -486,6 +486,10 @@ nxt_user_groups_get(nxt_task_t *task, nxt_user_cred_t *uc) if (nsaved > NGROUPS_MAX) { /* MacOSX case. */ + + uc->gids = NULL; + uc->ngroups = 0; + return NXT_OK; } |