me
/
guix
Archived
1
0
Fork 0

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.
master
Mathieu Othacehe 2020-04-01 14:43:35 +02:00
parent d52111450a
commit b5c2d93d7a
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 4 additions and 2 deletions

View File

@ -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)))))))