summary refs log tree commit diff
path: root/gnu/installer.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-14 12:56:44 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-14 13:01:58 +0200
commit893651af3ec8ea003404cfefbbaa4fcd56dad3d5 (patch)
treea7665167fa090241c8601eb60da8b9355b94df3d /gnu/installer.scm
parent8e4d1493f1d56e29252eb7a36b3eee2a0e073ee4 (diff)
downloadguix-893651af3ec8ea003404cfefbbaa4fcd56dad3d5.tar.gz
installer: Open manual in the selected language on tty2.
Fixes <https://bugs.gnu.org/40624>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

Regression introduced in b5c2d93d7a223155898dd0ed6932f6acf78ac454.

* gnu/installer.scm (apply-locale): Remove 'lambda' around
'stop-service' and 'start-service' calls.
Diffstat (limited to 'gnu/installer.scm')
-rw-r--r--gnu/installer.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/installer.scm b/gnu/installer.scm
index d2b7fc327d..1051ee1e5f 100644
--- a/gnu/installer.scm
+++ b/gnu/installer.scm
@@ -118,9 +118,8 @@ version of this file."
         ;; printed on the console.
         (parameterize ((shepherd-message-port
                         (%make-void-port "w")))
-          (lambda ()
-            (stop-service 'term-tty2)
-            (start-service 'term-tty2 (list locale)))))))
+          (stop-service 'term-tty2)
+          (start-service 'term-tty2 (list locale))))))
 
 (define* (compute-locale-step #:key
                               locales-name