guix-commits
[Top][All Lists]
Advanced

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

[shepherd] 01/03: shepherd: Really replace the core ‘sleep’ binding.


From: Ludovic Courtès
Subject: [shepherd] 01/03: shepherd: Really replace the core ‘sleep’ binding.
Date: Thu, 4 Jan 2024 18:54:12 -0500 (EST)

civodul pushed a commit to branch main
in repository shepherd.

commit 8dbe55b339f271f31de137f615df9a79a8aedbdc
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Jan 5 00:28:20 2024 +0100

    shepherd: Really replace the core ‘sleep’ binding.
    
    Commit fc75133d39271ab548629c846ce26ab63a02fb98 would only replace the
    local ‘sleep’ binding.
    
    * modules/shepherd.scm (main): Really replace (@ (guile) sleep).
---
 modules/shepherd.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/shepherd.scm b/modules/shepherd.scm
index 424c906..9e980c4 100644
--- a/modules/shepherd.scm
+++ b/modules/shepherd.scm
@@ -508,7 +508,7 @@ fork in the child process."
                            (spawn-command command)))
                 (system spawn-shell-command)
                 (primitive-load primitive-load*)
-                (sleep (@ (fibers) sleep)))
+                ((@ (guile) sleep) (@ (fibers) sleep)))
 
                (run-daemon #:socket-file socket-file
                            #:config-file (or config-file (default-config-file))



reply via email to

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