diff --git a/sysuser-tools.changes b/sysuser-tools.changes index 902fecd..6ec3470 100644 --- a/sysuser-tools.changes +++ b/sysuser-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jan 20 15:06:51 UTC 2021 - Thorsten Kukuk + +- Ignore nscd return code + ------------------------------------------------------------------- Tue Jan 19 15:15:41 UTC 2021 - Thorsten Kukuk diff --git a/sysusers2shadow.sh b/sysusers2shadow.sh index f8db958..08a7209 100644 --- a/sysusers2shadow.sh +++ b/sysusers2shadow.sh @@ -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