Skip to content

Commit

Permalink
commands: Add --pipe to nspawn invocation
Browse files Browse the repository at this point in the history
Fixes: #411
Signed-off-by: Christopher Obbard <[email protected]>
  • Loading branch information
obbardc committed Feb 6, 2024
1 parent f21bdfd commit 4e04101
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ func (cmd Command) Run(label string, cmdline ...string) error {
options = append(options, "--timezone=off")
options = append(options, "--register=no")
options = append(options, "--keep-unit")
options = append(options, "--pipe")
for _, e := range cmd.extraEnv {
options = append(options, "--setenv", e)

Expand Down

0 comments on commit 4e04101

Please sign in to comment.