[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: remote-server: Fix cache-directory creation.
From: |
Mathieu Othacehe |
Subject: |
branch master updated: remote-server: Fix cache-directory creation. |
Date: |
Fri, 17 Dec 2021 09:24:10 -0500 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix-cuirass.
The following commit(s) were added to refs/heads/master by this push:
new 04e3adc remote-server: Fix cache-directory creation.
04e3adc is described below
commit 04e3adcbb2cc6b7bbc3b7bd448192ed6ba2660a6
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Fri Dec 17 15:21:59 2021 +0100
remote-server: Fix cache-directory creation.
* src/cuirass/scripts/remote-server.scm (cuirass-remote-server): Create the
cache-directory only once user privileges have been gathered.
---
src/cuirass/scripts/remote-server.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cuirass/scripts/remote-server.scm
b/src/cuirass/scripts/remote-server.scm
index 035064a..10b601a 100644
--- a/src/cuirass/scripts/remote-server.scm
+++ b/src/cuirass/scripts/remote-server.scm
@@ -598,14 +598,14 @@ exiting."
(and cache
(%cache-directory cache))
- (mkdir-p (%cache-directory))
-
(when user
(gather-user-privileges user))
(and parameters
(read-parameters parameters))
+ (mkdir-p (%cache-directory))
+
;; Reset the GC root directory now that we have gathered user
;; privileges.
(%gc-root-directory
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: remote-server: Fix cache-directory creation.,
Mathieu Othacehe <=