forked from lix-project/lix
Make /var/run/nscd/socket optional
Not every distribution uses nscd.
This commit is contained in:
parent
dfcd78d851
commit
488792a87d
|
@ -2405,6 +2405,7 @@ void DerivationGoal::runChild()
|
|||
ss.push_back("/etc/nsswitch.conf");
|
||||
ss.push_back("/etc/services");
|
||||
ss.push_back("/etc/hosts");
|
||||
if (pathExists("/var/run/nscd/socket"))
|
||||
ss.push_back("/var/run/nscd/socket");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue