me
/
guix
Archived
1
0
Fork 0

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.
master
Ludovic Courtès 2022-04-10 23:41:15 +02:00
parent dbde386794
commit ada530acb1
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ separate mount and PID name space. Return the \"outer\" PID. "
pid))) pid)))
(define* (exec-command* command #:key user group log-file pid-file (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 "Like 'exec-command', but first restore signal handles modified by
shepherd (PID 1)." shepherd (PID 1)."
;; First restore the default handlers. ;; First restore the default handlers.