Add call to 'authselect check'
See https://src.fedoraproject.org/rpms/systemd/pull-request/12#comment-18052.
This commit is contained in:
parent
4ba08126b1
commit
85e1a222f7
@ -548,7 +548,7 @@ function mod_nss() {
|
||||
}
|
||||
|
||||
FILE="$(readlink /etc/nsswitch.conf || echo /etc/nsswitch.conf)"
|
||||
if [ "$FILE" = "/etc/authselect/nsswitch.conf" ]; then
|
||||
if [ "$FILE" = "/etc/authselect/nsswitch.conf" ] && authselect check &>/dev/null; then
|
||||
mod_nss "/etc/authselect/user-nsswitch.conf"
|
||||
authselect apply-changes &> /dev/null || :
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user