From db54f65769ab5b790a7438e8725c045358b71279 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Fri, 12 Nov 2021 12:45:50 +0000 Subject: Move the locale check to just happen when starting the service So it doesn't happen when running other commands. --- scripts/guix-build-coordinator.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/guix-build-coordinator.in') 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 -- cgit v1.2.3