mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 13:09:23 -05:00
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.
This commit is contained in:
parent
d52111450a
commit
b5c2d93d7a
1 changed files with 4 additions and 2 deletions
|
@ -113,8 +113,10 @@ (define apply-locale
|
||||||
(setlocale LC_ALL locale))
|
(setlocale LC_ALL locale))
|
||||||
|
|
||||||
;; Restart the documentation viewer so it displays the manual in
|
;; Restart the documentation viewer so it displays the manual in
|
||||||
;; language that corresponds to LOCALE.
|
;; language that corresponds to LOCALE. Make sure that nothing is
|
||||||
(with-error-to-port (%make-void-port "w")
|
;; printed on the console.
|
||||||
|
(parameterize ((shepherd-message-port
|
||||||
|
(%make-void-port "w")))
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(stop-service 'term-tty2)
|
(stop-service 'term-tty2)
|
||||||
(start-service 'term-tty2 (list locale)))))))
|
(start-service 'term-tty2 (list locale)))))))
|
||||||
|
|
Loading…
Reference in a new issue