aboutsummaryrefslogtreecommitdiff
path: root/gnu/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-04-10 23:41:15 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-11 00:25:33 +0200
commitada530acb1e848daaac027872e6bad067e82207b (patch)
treeaabe112c42b23e657efefb64b2e82ecbc4854e62 /gnu/build
parentdbde386794cb5f4773b94a20ef585ca0f881544a (diff)
downloadguix-ada530acb1e848daaac027872e6bad067e82207b.tar
guix-ada530acb1e848daaac027872e6bad067e82207b.tar.gz
shepherd: 'exec-command*' has a valid default #:directory.
Fixes a regression introduced in 938448bf40fc77092859352d2243e2d0c236375f where 'exec-command*' could get #:directory #f, in particular when called by 'fork+exec-command/container'. * gnu/build/shepherd.scm (exec-command*): Add default value for #:directory.
Diffstat (limited to 'gnu/build')
-rw-r--r--gnu/build/shepherd.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/build/shepherd.scm b/gnu/build/shepherd.scm
index 0627bac5b9..474054f645 100644
--- a/gnu/build/shepherd.scm
+++ b/gnu/build/shepherd.scm
@@ -120,7 +120,7 @@ separate mount and PID name space. Return the \"outer\" PID. "
pid)))
(define* (exec-command* command #:key user group log-file pid-file
- directory (environment-variables (environ)))
+ (directory "/") (environment-variables (environ)))
"Like 'exec-command', but first restore signal handles modified by
shepherd (PID 1)."
;; First restore the default handlers.