commit d9c165a5006191cf9d96e2b9363449feeb0438b9
parent cb118ba9ad4436d513172882ae96296240a93e8b
Author: deurzen <max@deurzen.net>
Date: Thu, 2 Jun 2022 13:56:04 +0200
changes explicit exit code
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kranewl/server.cc b/src/kranewl/server.cc
@@ -150,7 +150,7 @@ Server::Server(Model_ptr model)
if (m_socket.empty()) {
wlr_backend_destroy(mp_backend);
wl_display_destroy(mp_display);
- std::exit(1);
+ std::exit(EXIT_FAILURE);
spdlog::critical("Could not set up server socket");
return;
}