[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch wip-installer-help updated: installer: Hide shepherd messages.
From: |
guix-commits |
Subject: |
branch wip-installer-help updated: installer: Hide shepherd messages. |
Date: |
Wed, 01 Apr 2020 08:44:47 -0400 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch wip-installer-help
in repository guix.
The following commit(s) were added to refs/heads/wip-installer-help by this
push:
new 351c0fa installer: Hide shepherd messages.
351c0fa is described below
commit 351c0fa7fa291efb7308c0a10a0253057d9c6890
Author: Mathieu Othacehe <address@hidden>
AuthorDate: Wed Apr 1 14:43:35 2020 +0200
installer: Hide shepherd messages.
* gnu/installer.scm (apply-locale): Set "shepherd-message-port" instead of
redirecting stderr to make sure that nothing is printed on console.
---
gnu/installer.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/installer.scm b/gnu/installer.scm
index 084f437..75c5a01 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -113,8 +113,10 @@ version of this file."
(setlocale LC_ALL locale))
;; Restart the documentation viewer so it displays the manual in
- ;; language that corresponds to LOCALE.
- (with-error-to-port (%make-void-port "w")
+ ;; language that corresponds to LOCALE. Make sure that nothing is
+ ;; printed on the console.
+ (parameterize ((shepherd-message-port
+ (%make-void-port "w")))
(lambda ()
(stop-service 'term-tty2)
(start-service 'term-tty2 (list locale)))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch wip-installer-help updated: installer: Hide shepherd messages.,
guix-commits <=