diff options
author | Kay Sievers <kay@vrfy.org> | 2015-06-17 16:37:55 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-03-14 10:03:48 +0100 |
commit | 7b3cb911e7ddb15cc8f7b1bf0a19c5619b58e23c (patch) | |
tree | 549ac4b382192e7d71ff4b262b6e9d6a2d355d22 /src/login | |
parent | 25387573767909c96090ad22cccafc72c16542d7 (diff) |
turn kdbus support into a runtime option
./configure --enable/disable-kdbus can be used to set the default
behavior regarding kdbus.
If no kdbus kernel support is available, dbus-dameon will be used.
With --enable-kdbus, the kernel command line option "kdbus=0" can
be used to disable kdbus.
With --disable-kdbus, the kernel command line option "kdbus=1" is
required to enable kdbus support.
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/pam_elogind.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/login/pam_elogind.c b/src/login/pam_elogind.c index f42da90cd..9554ce606 100644 --- a/src/login/pam_elogind.c +++ b/src/login/pam_elogind.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; } |