diff options
author | Přemysl Janouch <p@janouch.name> | 2019-12-07 21:18:20 +0100 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2019-12-07 21:18:20 +0100 |
commit | 64d4009427d5a008673ba57c46d99573ad5f4286 (patch) | |
tree | fe1c0efe2f269771c81b51a2b90928cdf00cbe12 | |
parent | 4179a9bd498bd8869c14aed8204503d92ce9dbd7 (diff) | |
download | xK-64d4009427d5a008673ba57c46d99573ad5f4286.tar.gz xK-64d4009427d5a008673ba57c46d99573ad5f4286.tar.xz xK-64d4009427d5a008673ba57c46d99573ad5f4286.zip |
degesch: fix getpwuid usage
The "entry not found" case doesn't have to touch errno.
-rw-r--r-- | degesch.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |