1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-29 13:31:16 +02:00

shepherd: 'exec-command*' has a valid default #:directory.

Fixes a regression introduced in
938448bf40 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.
This commit is contained in:
Ludovic Courtès
2022-04-10 23:41:15 +02:00
parent dbde386794
commit ada530acb1

View File

@@ -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.