Use volatile sig_atomic_t instead of int

This commit is contained in:
2022-10-13 15:42:31 +02:00
parent 100eb1597d
commit 92779e5dba
3 changed files with 4 additions and 3 deletions

@ -35,7 +35,7 @@
#include <dirent.h>
int active = 1;
volatile sig_atomic_t active = 1;
const char *config_file;
int sockets[NUM_SOCKETS];
pid_t children[MAX_CHILDREN];