chiark / gitweb /
turn kdbus support into a runtime option
[elogind.git] / src / login / pam_elogind.c
index f42da90cdd77eb680f52e72794c54960e90113c8..9554ce6067c5fc1eccaf15bd0f3a5791d10fcf70 100644 (file)
@@ -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;
 }