~ salmonella-environment-setup (master) 3940c84ef0fd41ca5cf7bce630b688472c04029c


commit 3940c84ef0fd41ca5cf7bce630b688472c04029c
Author:     Mario Domenech Goulart <mario@parenteses.org>
AuthorDate: Sun Nov 22 10:19:59 2020 +0100
Commit:     Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Sun Nov 22 10:19:59 2020 +0100

    conf/common/common.scm: only set kill-hanging-children params for supported OSs

diff --git a/conf/common/common.scm b/conf/common/common.scm
index 70c43bd..e6840ad 100644
--- a/conf/common/common.scm
+++ b/conf/common/common.scm
@@ -11,8 +11,11 @@
  (sprintf "salmonella-~a-~a.call-cc.org"
           (software-version) (machine-type)))
 
-(hanging-process-killer-program "kill-hanging-children")
+;; Those are currently the only systems supported by
+;; kill-hanging-children
+(when (memq (software-version) '(linux freebsd))
+  (hanging-process-killer-program "kill-hanging-children")
 
-(hanging-process-killer-program-args
- (lambda (pid publish-dir)
-   (list pid publish-dir)))
+  (hanging-process-killer-program-args
+   (lambda (pid publish-dir)
+     (list pid publish-dir))))
Trap