diff options
Diffstat (limited to 'Userland/Services/InspectorServer/main.cpp')
-rw-r--r-- | Userland/Services/InspectorServer/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/InspectorServer/main.cpp b/Userland/Services/InspectorServer/main.cpp index d9770f32fa..316238ef4c 100644 --- a/Userland/Services/InspectorServer/main.cpp +++ b/Userland/Services/InspectorServer/main.cpp @@ -25,7 +25,7 @@ ErrorOr<int> serenity_main(Main::Arguments) TRY(inspectables_server->take_over_from_system_server("/tmp/portal/inspectables")); inspectables_server->on_accept = [&](auto client_socket) { - auto pid = client_socket->peer_pid(); + auto pid = client_socket->peer_pid().release_value_but_fixme_should_propagate_errors(); InspectorServer::g_processes.set(pid, make<InspectorServer::InspectableProcess>(pid, move(client_socket))); }; |