summaryrefslogtreecommitdiff
path: root/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'service.c')
-rw-r--r--service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/service.c b/service.c
index 1aeb5fbf2b..8018bd847c 100644
--- a/service.c
+++ b/service.c
@@ -510,7 +510,7 @@ static int service_load_sysv_name(Service *s, const char *name) {
r = service_load_sysv_path(s, path);
free(path);
- if (r >= 0)
+ if (r != 0)
return r;
}