Log info message when the control socket is disabled

This commit is contained in:
Nikos Mavrogiannopoulos
2015-08-17 14:27:11 +02:00
parent 6085ec6ef3
commit ab93ea4d82

View File

@@ -110,8 +110,10 @@ int ctl_handler_init(main_server_st * s)
struct sockaddr_un sa;
int sd, e;
if (s->config->use_occtl == 0 || s->perm_config->occtl_socket_file == NULL)
if (s->config->use_occtl == 0 || s->perm_config->occtl_socket_file == NULL) {
mslog(s, NULL, LOG_INFO, "not using control unix socket");
return 0;
}
mslog(s, NULL, LOG_DEBUG, "initializing control unix socket: %s", s->perm_config->occtl_socket_file);
memset(&sa, 0, sizeof(sa));