aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2021-11-12 12:45:50 +0000
committerChristopher Baines <mail@cbaines.net>2021-11-12 12:45:50 +0000
commitdb54f65769ab5b790a7438e8725c045358b71279 (patch)
tree818652add5967b023047f176e89d48308bf5b1d5 /scripts
parent2fc8afe5ecf783aff1c29bb5f2230f1f1bc013d8 (diff)
downloadbuild-coordinator-db54f65769ab5b790a7438e8725c045358b71279.tar
build-coordinator-db54f65769ab5b790a7438e8725c045358b71279.tar.gz
Move the locale check to just happen when starting the service
So it doesn't happen when running other commands.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/guix-build-coordinator.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/guix-build-coordinator.in b/scripts/guix-build-coordinator.in
index b112262..166790e 100644
--- a/scripts/guix-build-coordinator.in
+++ b/scripts/guix-build-coordinator.in
@@ -52,8 +52,6 @@
(guix-build-coordinator build-allocator)
(guix-build-coordinator client-communication))
-(simple-format (current-error-port) "locale is ~A\n" (check-locale!))
-
(define %base-options
;; Specifications of the command-line options
(list (option '("secret-key-base-file") #t #f
@@ -768,6 +766,8 @@ tags:
"token")))
(simple-format #t "~A\n" token))))
((arguments ...)
+ (simple-format (current-error-port) "locale is ~A\n" (check-locale!))
+
(let* ((opts (parse-options (append %service-options
%base-options)
(append %service-option-defaults