bug-mcron
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/5] cron: use signal numbers instead of symbols.


From: ulfvonbelow
Subject: [PATCH 1/5] cron: use signal numbers instead of symbols.
Date: Thu, 2 Feb 2023 19:29:48 +0000

Did this ever work?

* src/mcron/scripts/cron.scm (main): install signal handlers using numbers
  that symbols evaluate to instead of symbols.
---
 src/mcron/scripts/cron.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mcron/scripts/cron.scm b/src/mcron/scripts/cron.scm
index 2e36d87..3c3a57c 100644
--- a/src/mcron/scripts/cron.scm
+++ b/src/mcron/scripts/cron.scm
@@ -147,7 +147,7 @@ option.\n")
                                              (delete-file config-socket-file))
                                            noop)
                              (exit EXIT_FAILURE))))
-                '(SIGTERM SIGINT SIGQUIT SIGHUP))
+              (list SIGTERM SIGINT SIGQUIT SIGHUP))
 
   ;; We can now write the PID file.
   (with-output-to-file  config-pid-file
-- 
2.38.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]