diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-05-05 16:05:43 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2021-05-06 22:35:49 +0200 |
commit | 1fdfca4da739f47516513afc66d4c7008c9badfd (patch) | |
tree | c985eb769d5a525f9a8ff12bd791ec65f6736325 /src/nss-systemd/nss-systemd.c | |
parent | Merge pull request #19523 from bluca/coredump_meta_fixes (diff) | |
download | systemd-1fdfca4da739f47516513afc66d4c7008c9badfd.tar.xz systemd-1fdfca4da739f47516513afc66d4c7008c9badfd.zip |
nss-systemd: reset the right field
Diffstat (limited to 'src/nss-systemd/nss-systemd.c')
-rw-r--r-- | src/nss-systemd/nss-systemd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nss-systemd/nss-systemd.c b/src/nss-systemd/nss-systemd.c index 38c214499e..185cb3de24 100644 --- a/src/nss-systemd/nss-systemd.c +++ b/src/nss-systemd/nss-systemd.c @@ -348,7 +348,7 @@ enum nss_status _nss_systemd_setgrent(int stayopen) { _l = pthread_mutex_lock_assert(&getgrent_data.mutex); getgrent_data.iterator = userdb_iterator_free(getgrent_data.iterator); - getpwent_data.by_membership = false; + getgrent_data.by_membership = false; /* See _nss_systemd_setpwent() for an explanation why we use USERDB_DONT_SYNTHESIZE here */ r = groupdb_all(nss_glue_userdb_flags() | USERDB_DONT_SYNTHESIZE, &getgrent_data.iterator); |