mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-13 13:17:43 +03:00
test: adapt install_pam() for openSUSE
limits.conf is installed in /usr/etc/security for openSUSE.
This commit is contained in:
parent
402f2b3ce8
commit
eef72224a8
@ -1846,7 +1846,7 @@ install_pam() {
|
||||
paths+=(/lib*/security)
|
||||
fi
|
||||
|
||||
for d in /etc/pam.d /etc/security /usr/{etc,lib}/pam.d; do
|
||||
for d in /etc/pam.d /{usr/,}etc/security /usr/{etc,lib}/pam.d; do
|
||||
[ -d "$d" ] && paths+=("$d")
|
||||
done
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user