X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=service.c;h=8018bd847cbfe6b7c7c2f65f7c73876b07588d9f;hp=1aeb5fbf2b637cec04661b081500db891f8bc26e;hb=24e61ac49db6add10ffa448f42202245fb883b96;hpb=bd77d0fccccb7c94d1dd52d2e535feb7156e3220 diff --git a/service.c b/service.c index 1aeb5fbf2..8018bd847 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; }