summary refs log tree commit diff
diff options
context:
space:
mode:
-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 474054f645..595db40f2e 100644
--- a/gnu/build/shepherd.scm
+++ b/gnu/build/shepherd.scm
@@ -240,7 +240,7 @@ on Hurd systems for instance, fallback to direct forking."
                      (apply exec-command* command (strip-pid args)))
                    (lambda ()
                      (primitive-_exit 127))))
-              (pid #t))))
+              (pid pid))))               ;XXX: assuming the same PID namespace
         (apply fork+exec-command command (strip-pid args)))))
 
 ;; Local Variables: