diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-01 12:24:56 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-01 12:24:56 +0100 |
commit | 6f22d572352793667f4b14b2cbc8c3a9e2caee05 (patch) | |
tree | 7d9582b38d77dfa709b201e9e07e02c6fa4d44de /src/nss-systemd | |
parent | Fix two typos (diff) | |
download | systemd-6f22d572352793667f4b14b2cbc8c3a9e2caee05.tar.xz systemd-6f22d572352793667f4b14b2cbc8c3a9e2caee05.zip |
userdb: fix lookup of groups defined by homed
Diffstat (limited to 'src/nss-systemd')
-rw-r--r-- | src/nss-systemd/userdb-glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nss-systemd/userdb-glue.c b/src/nss-systemd/userdb-glue.c index 81705fa1b6..58915c3d23 100644 --- a/src/nss-systemd/userdb-glue.c +++ b/src/nss-systemd/userdb-glue.c @@ -290,7 +290,7 @@ enum nss_status userdb_getgrgid( *errnop = -r; return NSS_STATUS_UNAVAIL; } - if (r) + if (!r) return NSS_STATUS_NOTFOUND; r = groupdb_by_gid(gid, nss_glue_userdb_flags(), &g); |