diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-04-28 17:09:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-04-29 16:27:48 +0200 |
commit | 3e7a1f50e473a374e1657d2051237e2db04c4db2 (patch) | |
tree | 1a0fe54ae73af26c0c809672163c558425d5ef6b /src/core/service.c | |
parent | 7f2fbbff06519a486a37ad140ea9200513d42747 (diff) |
core: make sure to close connection fd when we fail to activate a per-connection service
Fixes: #2993 #2691
Diffstat (limited to 'src/core/service.c')
-rw-r--r-- | src/core/service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/service.c b/src/core/service.c index 3c4328c584..88f8cc5795 100644 --- a/src/core/service.c +++ b/src/core/service.c @@ -180,7 +180,7 @@ static int service_set_main_pid(Service *s, pid_t pid) { return 0; } -static void service_close_socket_fd(Service *s) { +void service_close_socket_fd(Service *s) { assert(s); s->socket_fd = asynchronous_close(s->socket_fd); |