reconfigure: Silence "shepherd: Evaluating ..." messages.

* guix/scripts/system/reconfigure.scm (upgrade-services-program):
Parameterize 'shepherd-message-port' to silent "Evaluating ..." messages.
This commit is contained in:
Ludovic Courtès 2019-10-18 22:39:03 +02:00
parent 6aeae5b90b
commit f05f722657
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -136,7 +136,10 @@ canonical names (symbols)."
(srfi srfi-1))
;; Load the service files for any new services.
(load-services/safe '#$service-files)
;; Silence messages coming from shepherd such as "Evaluating
;; expression ..." since they are unhelpful.
(parameterize ((shepherd-message-port (%make-void-port "w")))
(load-services/safe '#$service-files))
;; Unload obsolete services and start new services.
(for-each unload-service '#$to-unload)