diff options
author | David Härdeman <david@hardeman.nu> | 2020-06-21 00:06:29 +0200 |
---|---|---|
committer | David Härdeman <david@hardeman.nu> | 2020-06-21 00:06:29 +0200 |
commit | ae48dc3b3caeef7eaa4a079b11cdda988d9c1f0d (patch) | |
tree | 2b9ec4898b7fd71ae3551ee72f7891640dec5c07 /systemd.c | |
parent | ab51ac11e68ce0b075688bf17fc89e0ba645b2ed (diff) |
Add streq and strcaseeq and use them throughout
Diffstat (limited to 'systemd.c')
-rw-r--r-- | systemd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |