mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-22 12:25:38 +02:00
main: no need for EFD_NONBLOCK
This commit is contained in:
parent
35d7b2bc4a
commit
c2e53a6bf7
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -37,7 +37,7 @@ main(int argc, const char *const *argv)
|
|||
const struct sigaction sa = {.sa_handler = &signal_handler};
|
||||
sigaction(SIGINT, &sa, NULL);
|
||||
|
||||
int abort_fd = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);
|
||||
int abort_fd = eventfd(0, EFD_CLOEXEC);
|
||||
assert(abort_fd >= 0);
|
||||
|
||||
struct bar *bar = conf_to_bar(yml_get_value(conf, "bar"));
|
||||
|
|
Loading…
Add table
Reference in a new issue