memset is no longer used to clear sigact

This commit is contained in:
Scoopta 2020-06-12 22:25:20 -07:00
parent aaaf79d0f7
commit 1e63240dc8

View File

@ -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);