summaryrefslogtreecommitdiff
path: root/systemd.c
diff options
context:
space:
mode:
Diffstat (limited to 'systemd.c')
-rw-r--r--systemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd.c b/systemd.c
index a592d3a..1ddbd18 100644
--- a/systemd.c
+++ b/systemd.c
@@ -131,7 +131,7 @@ systemd_service_running(struct cfg *cfg, struct server *server)
goto out;
}
- if (!strcmp(status, "active")) {
+ if (streq(status, "active")) {
running = true;
debug(DBG_SYSD, "systemd service %s (%s) is active",
server->systemd_service, server->systemd_obj);