summaryrefslogtreecommitdiff
path: root/Userland/Services/ConfigServer/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Services/ConfigServer/main.cpp')
-rw-r--r--Userland/Services/ConfigServer/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Userland/Services/ConfigServer/main.cpp b/Userland/Services/ConfigServer/main.cpp
index 65bbab3ae1..cde261b8a7 100644
--- a/Userland/Services/ConfigServer/main.cpp
+++ b/Userland/Services/ConfigServer/main.cpp
@@ -17,10 +17,9 @@ ErrorOr<int> serenity_main(Main::Arguments)
TRY(Core::System::unveil(nullptr, nullptr));
Core::EventLoop event_loop;
- auto server = TRY(Core::LocalServer::try_create());
- bool ok = server->take_over_from_system_server();
- VERIFY(ok);
+ auto server = TRY(Core::LocalServer::try_create());
+ TRY(server->take_over_from_system_server());
server->on_accept = [&](auto client_socket) {
static int s_next_client_id = 0;
int client_id = ++s_next_client_id;