summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bin/cuirass.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/cuirass.in b/bin/cuirass.in
index c322a71..d6c2695 100644
--- a/bin/cuirass.in
+++ b/bin/cuirass.in
@@ -112,7 +112,9 @@ exec ${GUILE:-@GUILE@} --no-auto-compile -e main -s "$0" "$@"
(show-version)
(exit 0))
(else
- (mkdir-p (%gc-root-directory))
+ ;; If we cannot create the gcroot directory, it should be done later
+ ;; on by guix-daemon itself.
+ (false-if-exception (mkdir-p (%gc-root-directory)))
(let ((one-shot? (option-ref opts 'one-shot #f))
(port (string->number (option-ref opts 'port "8080")))
(host (option-ref opts 'listen "localhost"))