cron: use signal numbers instead of symbols.

Did this ever work?

* src/mcron/scripts/cron.scm (main): install signal handlers using numbers
  that symbols evaluate to instead of symbols.
This commit is contained in:
ulfvonbelow 2023-02-02 19:29:48 +00:00 committed by Dale Mellor
commit 63443d0750
Signed by: khleedril
GPG key ID: CA471FD501618A49

View file

@ -147,7 +147,7 @@ option.\n")
(delete-file config-socket-file)) (delete-file config-socket-file))
noop) noop)
(exit EXIT_FAILURE)))) (exit EXIT_FAILURE))))
'(SIGTERM SIGINT SIGQUIT SIGHUP)) (list SIGTERM SIGINT SIGQUIT SIGHUP))
;; We can now write the PID file. ;; We can now write the PID file.
(with-output-to-file config-pid-file (with-output-to-file config-pid-file