On 2014-12-09 01:07, Andy Juniper wrote: > Hi > > + sa.sa_handler = set_print_now_flag; > + if (sigaction(SIGUSR1, &sa, NULL) < 0) > + fatal_with_errno(EXIT_FAILURE, "Can't install SIGTERM handler"); > + > } Minor typo there, should be SIGUSR1 =)