diff options
author | Mathieu Othacehe <m.othacehe@gmail.com> | 2020-04-01 14:43:35 +0200 |
---|---|---|
committer | Mathieu Othacehe <m.othacehe@gmail.com> | 2020-04-06 15:06:03 +0200 |
commit | b5c2d93d7a223155898dd0ed6932f6acf78ac454 (patch) | |
tree | 427a93da2990a362da4401aba317ca0d8ff1dc27 /gnu | |
parent | d52111450abc93f84e251c768c8cba47d37a48ee (diff) | |
download | guix-b5c2d93d7a223155898dd0ed6932f6acf78ac454.tar guix-b5c2d93d7a223155898dd0ed6932f6acf78ac454.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/installer.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/installer.scm b/gnu/installer.scm index 084f437604..75c5a01570 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))))))) |