aboutsummaryrefslogtreecommitdiff
path: root/scripts/guix-data-service.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/guix-data-service.in')
-rw-r--r--scripts/guix-data-service.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/guix-data-service.in b/scripts/guix-data-service.in
index 1c57c57..a0d64cf 100644
--- a/scripts/guix-data-service.in
+++ b/scripts/guix-data-service.in
@@ -80,6 +80,9 @@
(error "extraneous argument" arg))
%default-options))
+(setvbuf (current-output-port) 'line)
+(setvbuf (current-error-port) 'line)
+
(let ((opts (parse-options (cdr (program-arguments)))))
(let ((repl-port (assoc-ref opts 'listen-repl)))
(when repl-port