diff options
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index cddc73103a..6fb15e3794 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -652,12 +652,13 @@ switch_id(char *user, char *group) } if (setgid(gr->gr_gid) != 0) { - log_warn(LD_GENERAL,"Error setting GID: %s", strerror(errno)); + log_warn(LD_GENERAL,"Error setting to configured GID: %s", + strerror(errno)); return -1; } } else if (user) { if (setgid(pw->pw_gid) != 0) { - log_warn(LD_GENERAL,"Error setting GID: %s", strerror(errno)); + log_warn(LD_GENERAL,"Error setting to user GID: %s", strerror(errno)); return -1; } } |