summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2015-06-17 19:06:13 +0200
committerKay Sievers <kay@vrfy.org>2015-06-17 19:06:13 +0200
commit633f2d59edeb3aa9cf88454780d55fac2e4dbe8d (patch)
tree18a6a29c7d5f6dd0e5af54a7859898d96c78601d /src/login
parent14f494c710bec8fcbadb5f46a9c25b9ebf367f19 (diff)
parent1b09f548c7f303b486b5b1321c06336bff72ada4 (diff)
Merge pull request #263 from kaysievers/wip
turn kdbus support into a runtime option
Diffstat (limited to 'src/login')
-rw-r--r--src/login/pam_systemd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/login/pam_systemd.c b/src/login/pam_systemd.c
index b5d419000c..0ebdfdf19e 100644
--- a/src/login/pam_systemd.c
+++ b/src/login/pam_systemd.c
@@ -177,7 +177,6 @@ static int export_legacy_dbus_address(
uid_t uid,
const char *runtime) {
-#ifdef ENABLE_KDBUS
_cleanup_free_ char *s = NULL;
int r;
@@ -195,7 +194,7 @@ static int export_legacy_dbus_address(
pam_syslog(handle, LOG_ERR, "Failed to set bus variable.");
return r;
}
-#endif
+
return PAM_SUCCESS;
}