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.
This commit is contained in:
parent
dbde386794
commit
ada530acb1
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user