summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-08-11 23:31:07 +0200
committerLennart Poettering <lennart@poettering.net>2010-08-11 23:31:07 +0200
commitafea26ad7d406d8b6c95d2642cb5a1d807b87546 (patch)
treec27bbf8effff5c5a956e0782cde9ff5a56e4b4c0 /src/main.c
parent444a79d34034aa8bfe60b92b0bb9e970803cbfb7 (diff)
main: disable nscd properly, if possible
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index 72015bc544..2e17f9b6fa 100644
--- a/src/main.c
+++ b/src/main.c
@@ -994,11 +994,7 @@ int main(int argc, char *argv[]) {
/* Disable nscd, to avoid deadlocks when systemd uses
* NSS and the nscd socket is maintained by us. */
- /* if (nss_disable_nscd) { */
- /* log_debug("Disabling nscd"); */
- /* nss_disable_nscd(); */
- /* } else */
- /* log_debug("Hmm, can't disable nscd."); */
+ nss_disable_nscd();
if (!serialization) {
if (arg_show_status)