lib.ExecContext._put(): Fix forgotten input
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m12s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m22s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m10s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m22s
CI / Packaging test (push) Successful in 0s
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m12s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m22s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m10s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 3m22s
CI / Packaging test (push) Successful in 0s
_put() doesn't put: An empty stdin is passed to tee, a regression introduced with
6db73873e7, fix that.Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
cd1716ff6f
commit
422f09a0b4
1 changed files with 1 additions and 1 deletions
|
|
@ -552,7 +552,7 @@ class ExecContext(Base):
|
||||||
try:
|
try:
|
||||||
for cmd in cmds:
|
for cmd in cmds:
|
||||||
log(DEBUG, f'{self.log_name}: Running {pretty_cmd(cmd.cmd, wd)}')
|
log(DEBUG, f'{self.log_name}: Running {pretty_cmd(cmd.cmd, wd)}')
|
||||||
ret = await __run(cmd.cmd)
|
ret = await __run(cmd.cmd, cmd_input = cmd.cmd_input)
|
||||||
tmp_file = None # Has been successfully moved at this point
|
tmp_file = None # Has been successfully moved at this point
|
||||||
return ret
|
return ret
|
||||||
finally:
|
finally:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue