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 =)



_______________________________________________
Nut-upsdev mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/nut-upsdev

Reply via email to