memset is no longer used to clear sigact
This commit is contained in:
parent
aaaf79d0f7
commit
1e63240dc8
@ -734,8 +734,7 @@ int main(int argc, char** argv) {
|
||||
map_put(config, "sort_order", sort_order);
|
||||
}
|
||||
|
||||
struct sigaction sigact;
|
||||
memset(&sigact, 0, sizeof(sigact));
|
||||
struct sigaction sigact = {0};
|
||||
sigact.sa_handler = sig;
|
||||
sigaction(SIGTERM, &sigact, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user