diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-01 22:08:01 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-01 22:08:01 +0200 |
commit | 24e61ac49db6add10ffa448f42202245fb883b96 (patch) | |
tree | e60ce2728020f647846ae19fa11f684cff34583b /service.c | |
parent | bd77d0fccccb7c94d1dd52d2e535feb7156e3220 (diff) |
service: don't continue looking for syv init scripts after the first failure
Diffstat (limited to 'service.c')
-rw-r--r-- | service.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |