3
0
forked from pool/sysuser-tools

Accepting request 865021 from home:kukuk:etc

- Ignore nscd return code

OBS-URL: https://build.opensuse.org/request/show/865021
OBS-URL: https://build.opensuse.org/package/show/Base:System/sysuser-tools?expand=0&rev=37
This commit is contained in:
Thorsten Kukuk 2021-01-20 15:08:26 +00:00 committed by Git OBS Bridge
parent 8e3bfd4594
commit 24d67490c3
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 20 15:06:51 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>
- Ignore nscd return code
-------------------------------------------------------------------
Tue Jan 19 15:15:41 UTC 2021 - Thorsten Kukuk <kukuk@suse.com>

View File

@ -14,8 +14,8 @@ if [ -x /usr/bin/systemd-sysusers ]; then
# We need to clear the nscd cache, as systemd-sysusers could have
# triggered a negative cache entry
if [ -x /usr/sbin/nscd ]; then
/usr/sbin/nscd -i passwd
/usr/sbin/nscd -i group
/usr/sbin/nscd -i passwd ||:
/usr/sbin/nscd -i group ||:
fi
else