diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-13 20:27:10 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-13 20:27:10 +0200 |
commit | ba8c0bef6bbb3f8cb92e0bf381fbe5a84584506f (patch) | |
tree | 581a9d07392a60670f61bad9dc66ce72eccb0ae6 /service.c | |
parent | 6f5e3f352778090be1e87cda0b1ada7fdaacc334 (diff) |
service: fix segfault
Diffstat (limited to 'service.c')
-rw-r--r-- | service.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -624,7 +624,7 @@ static int service_load_sysv_path(Service *s, const char *path) { s->valid_no_process = true; /* Don't timeout special services during boot (like fsck) */ - if (!chars_intersect("12345", s->sysv_runlevels)) + if (s->sysv_runlevels && !chars_intersect("12345", s->sysv_runlevels)) s->timeout_usec = -1; u->meta.load_state = UNIT_LOADED; |