guix-commits
[Top][All Lists]
Advanced

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

[shepherd] 04/07: service: Improve wording of 'waitpid' "error" message.


From: Ludovic Courtès
Subject: [shepherd] 04/07: service: Improve wording of 'waitpid' "error" message.
Date: Wed, 23 Mar 2016 21:41:04 +0000

civodul pushed a commit to branch master
in repository shepherd.

commit 8e15d9cc7f656cbba303b121852ab240c3bc129f
Author: Ludovic Courtès <address@hidden>
Date:   Wed Mar 23 21:50:35 2016 +0100

    service: Improve wording of 'waitpid' "error" message.
    
    * modules/shepherd/service.scm (waitpid*): Change "error" message to
    "warning", and improve wording.
---
 modules/shepherd/service.scm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/shepherd/service.scm b/modules/shepherd/service.scm
index 8f720de..49f6e8b 100644
--- a/modules/shepherd/service.scm
+++ b/modules/shepherd/service.scm
@@ -929,8 +929,8 @@ child left."
           ;; because this procedure is supposed to be called only upon
           ;; SIGCHLD.
           (let ((errno (system-error-errno args)))
-            (local-output "error: 'waitpid' unexpectedly failed with: ~s"
-                          (strerror errno))
+            (local-output "warning: 'waitpid' ~a failed unexpectedly: ~a"
+                          what (strerror errno))
             '(0 . #f)))))))
 
 (define (respawn-service signum)



reply via email to

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