Commit 2175fbc
committed
disk: Don't pass stdin to install run, also set up cancellation
This fixes a regression in the previous commit; the attachment
takes over stdin and was competing with the ssh client. We
have no need for interactivity, so don't pass stdin.
While we're here, also set up cancellation for the attachment
so that we know the operation is done when exiting the function,
as we also want to transfer ownership of stdout/stderr back.
Signed-off-by: Colin Walters <walters@verbum.org>1 parent 7ad20a0 commit 2175fbc
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
335 | 335 | | |
336 | 336 | | |
337 | 337 | | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
338 | 342 | | |
339 | 343 | | |
340 | 344 | | |
341 | | - | |
| 345 | + | |
342 | 346 | | |
343 | 347 | | |
344 | 348 | | |
| |||
0 commit comments