summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-20 15:34:46 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-21 01:04:39 +0200
commitd0168e1895f95eb69f47f799706167afe6976fa6 (patch)
tree303d620279e460101ee56b61399a73ee3230382b /gnu/services
parentd99a4c4cb3b52b1ff9dc20ad05c51624256c6405 (diff)
downloadguix-d0168e1895f95eb69f47f799706167afe6976fa6.tar.gz
services: root-file-system: Remove reference to 'stop-logging'.
* gnu/services/base.scm (%root-file-system-shepherd-service): In 'stop'
method, remove reference to 'stop-logging'.  That procedure is gone in
Shepherd 0.10.0, leading to an unbound-variable exception.
Additionally, calling is unnecessary since 0.4.0, where shepherd logs to
syslog (thus the open file descriptor is not backed by an on-disk file).
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/base.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 79c9661567..fd79c9e232 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -324,11 +324,7 @@ system objects.")))
              (sync)
 
              (let ((null (%make-void-port "w")))
-               ;; Close 'shepherd.log'.
-               (display "closing log\n")
-               ((@ (shepherd comm) stop-logging))
-
-               ;; Redirect the default output ports..
+               ;; Redirect the default output ports.
                (set-current-output-port null)
                (set-current-error-port null)