ipc: Print information to delete socket file

This commit is contained in:
Christoph Haag 2020-10-21 23:28:43 +02:00
parent 94d546322e
commit 7b95330bb5

View file

@ -98,6 +98,10 @@ create_listen_socket(struct ipc_server_mainloop *ml, int *out_fd)
"Or, is the systemd unit monado.socket or "
"monado-dev.socket active?");
#endif
if (errno == EADDRINUSE) {
U_LOG_E("If monado-service is not running, delete %s before starting a new instance",
IPC_MSG_SOCK_FILE);
}
close(fd);
return ret;
}