summaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/degesch.c b/degesch.c
index 8a1de8f..3f44217 100644
--- a/degesch.c
+++ b/degesch.c
@@ -5523,6 +5523,7 @@ irc_autofill_user_info (struct server *s, struct error **e)
return true;
// Read POSIX user info and fill the configuration if needed
+ errno = 0;
struct passwd *pwd = getpwuid (geteuid ());
if (!pwd)
{