1
0
mirror of https://github.com/restic/restic.git synced 2025-03-13 15:00:51 +00:00
Michael Eischer 5600f11696 rclone: Fix stderr handling if command exits unexpectedly
According to the documentation of exec.Cmd Wait() must not be called
before completing all reads from the pipe returned by StdErrPipe(). Thus
return a context that is canceled once rclone has exited and use that as
a precondition to calling Wait(). This should ensure that all errors
printed to stderr have been copied first.
2022-10-08 20:16:06 +02:00
..
2022-07-17 13:40:15 +02:00
2022-07-17 13:40:06 +02:00
2022-08-19 19:12:26 +02:00
2017-07-23 14:19:13 +02:00
2018-03-03 15:49:44 +01:00
2017-07-23 14:19:13 +02:00
2018-04-01 10:16:31 +02:00
2018-04-01 10:16:31 +02:00
2022-09-25 11:35:35 +02:00