diff options
Diffstat (limited to 'init/service_utils.cpp')
-rw-r--r-- | init/service_utils.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/service_utils.cpp b/init/service_utils.cpp index eed5c65db..d19f5eef5 100644 --- a/init/service_utils.cpp +++ b/init/service_utils.cpp @@ -168,7 +168,8 @@ void Descriptor::Publish() const { Result<Descriptor> SocketDescriptor::Create(const std::string& global_context) const { const auto& socket_context = context.empty() ? global_context : context; - auto result = CreateSocket(name, type | SOCK_CLOEXEC, passcred, perm, uid, gid, socket_context); + auto result = CreateSocket(name, type | SOCK_CLOEXEC, passcred, listen, perm, uid, gid, + socket_context); if (!result.ok()) { return result.error(); } |