diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-06-13 02:16:28 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-06-13 02:24:02 +0200 |
commit | b6564992c1c85d3d36edf9b6ec397fa40c36d7ce (patch) | |
tree | b34a048a2343bb8b82d1f1a4e510cec340838af8 /src/server.c | |
parent | sanitize #include-s (diff) | |
download | cimple-b6564992c1c85d3d36edf9b6ec397fa40c36d7ce.tar.gz cimple-b6564992c1c85d3d36edf9b6ec397fa40c36d7ce.zip |
signal: refactoring
Diffstat (limited to 'src/server.c')
-rw-r--r-- | src/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.c b/src/server.c index 2839a61..39a4aa3 100644 --- a/src/server.c +++ b/src/server.c @@ -318,7 +318,7 @@ int server_create(struct server **_server, const struct settings *settings) if (ret < 0) goto destroy_cmd_dispatcher; - ret = signalfd_listen_for_stops(); + ret = signalfd_create_sigterms(); if (ret < 0) goto destroy_event_loop; server->signalfd = ret; |