fix: send response to client

This commit is contained in:
2025-10-09 01:09:16 +02:00
parent 8d1e44db2d
commit 78ebc7b6d0
3 changed files with 18 additions and 13 deletions

View File

@@ -19,6 +19,11 @@ int main(void) {
return EXIT_FAILURE;
}
if (sigaction(SIGTERM, &act, NULL)) {
CWS_LOG_ERROR("sigaction()");
return EXIT_FAILURE;
}
cws_config_s *config = cws_config_init();
if (!config) {
CWS_LOG_ERROR("Unable to read config file");