From b2478b55441c1788580866fe706d01257742b990 Mon Sep 17 00:00:00 2001 From: Masaya Tojo Date: Fri, 10 Sep 2021 23:41:44 +0900 Subject: guile-tojo-tokyo-monitoring: Fix syntax. --- tojo-tokyo/monitoring.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tojo-tokyo/monitoring.scm') diff --git a/tojo-tokyo/monitoring.scm b/tojo-tokyo/monitoring.scm index 7d55dda..b7f56bb 100644 --- a/tojo-tokyo/monitoring.scm +++ b/tojo-tokyo/monitoring.scm @@ -55,7 +55,7 @@ (string=? (substring fs 0 5) "/dev/")))) (df)))) -(define-syntax-rule (heartbeat ((p? body ...) ...)) +(define-syntax-rule (heartbeat (p? body ...) ...) (let ((heartbeat-cancel? #f)) (when p? body ... (set! heartbeat-cancel? #t))) ... (unless heartbeat-cancel? -- cgit v1.2.3