summaryrefslogtreecommitdiff
path: root/src/procdialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/procdialogs.cpp')
-rw-r--r--src/procdialogs.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/procdialogs.cpp b/src/procdialogs.cpp
index 7d7aace..95b2527 100644
--- a/src/procdialogs.cpp
+++ b/src/procdialogs.cpp
@@ -25,10 +25,6 @@
#include <signal.h>
#include <string.h>
-#ifdef HAVE_SYSTEMD
-#include <systemd/sd-daemon.h>
-#endif
-
#include "procdialogs.h"
#include "proctable.h"
#include "callbacks.h"
@@ -479,7 +475,7 @@ create_field_page(GtkWidget *tree, const char* text)
column_id == COL_SEAT ||
column_id == COL_OWNER)
#ifdef HAVE_SYSTEMD
- && sd_booted() <= 0
+ && !LOGIND_RUNNING()
#endif
)
continue;