diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-09 23:19:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-09 23:43:16 +0200 |
commit | 25366e094c749a613eb065829c424ef72c285e82 (patch) | |
tree | b3f7732b5d7b99c831c2058b94275c7fb3cca041 /src/socket.c | |
parent | a821caaae15a39cd38be6dd3d1c3ca37c4ac0364 (diff) |
socket: fix loading of .service files for .socket files
Diffstat (limited to 'src/socket.c')
-rw-r--r-- | src/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket.c b/src/socket.c index acd49a5045..075b51966f 100644 --- a/src/socket.c +++ b/src/socket.c @@ -268,7 +268,7 @@ static int socket_load(Unit *u) { if (u->meta.load_state == UNIT_LOADED) { if (have_non_accept_socket(s)) { - if ((r = unit_load_related_unit(u, ".service", (Unit**) &s->service))) + if ((r = unit_load_related_unit(u, ".service", (Unit**) &s->service)) < 0) return r; if ((r = unit_add_dependency(u, UNIT_BEFORE, UNIT(s->service), true)) < 0) |