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
parent
d52111450a
commit
b5c2d93d7a
|
@ -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)))))))
|
||||
|
|
Reference in New Issue