diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-04-10 23:41:15 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-11 00:25:33 +0200 |
commit | ada530acb1e848daaac027872e6bad067e82207b (patch) | |
tree | aabe112c42b23e657efefb64b2e82ecbc4854e62 | |
parent | dbde386794cb5f4773b94a20ef585ca0f881544a (diff) | |
download | 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.
-rw-r--r-- | gnu/build/shepherd.scm | 2 |
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. |