mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
server: log socket packet
This commit is contained in:
parent
5cd8af44c6
commit
6ef65058cf
1 changed files with 3 additions and 1 deletions
4
server.c
4
server.c
|
|
@ -338,7 +338,7 @@ server_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl)
|
|||
break;
|
||||
|
||||
case CONNECT_SUCCESS:
|
||||
LOG_ERR("foot --server already running");
|
||||
LOG_ERR("%s is already accepting connections; is 'foot --server' already running", sock_path);
|
||||
/* FALLTHROUGH */
|
||||
|
||||
case CONNECT_ERR:
|
||||
|
|
@ -375,6 +375,8 @@ server_init(const struct config *conf, struct fdm *fdm, struct wayland *wayl)
|
|||
if (!fdm_add(fdm, fd, EPOLLIN, &fdm_server, server))
|
||||
goto err;
|
||||
|
||||
LOG_INFO("accepting connections on %s", sock_path);
|
||||
|
||||
return server;
|
||||
|
||||
err:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue