mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
LibCore: Do not assert that we can start the RPC server
Now that the Shell uses Core::EventLoop, we can't afford to just crash if /tmp is unwritable.
This commit is contained in:
committed by
Andreas Kling
parent
53647e347f
commit
8afcf0d87a
@@ -123,13 +123,13 @@ bool LocalServer::listen(const String& address)
|
||||
rc = ::bind(m_fd, (const sockaddr*)&un, sizeof(un));
|
||||
if (rc < 0) {
|
||||
perror("bind");
|
||||
ASSERT_NOT_REACHED();
|
||||
return false;
|
||||
}
|
||||
|
||||
rc = ::listen(m_fd, 5);
|
||||
if (rc < 0) {
|
||||
perror("listen");
|
||||
ASSERT_NOT_REACHED();
|
||||
return false;
|
||||
}
|
||||
|
||||
m_listening = true;
|
||||
|
||||
Reference in New Issue
Block a user