2
2
mirror of https://github.com/octoleo/restic.git synced 2025-02-02 11:58:26 +00:00
restic/internal
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-10-02 22:55:14 +02:00
2022-07-17 13:42:23 +02:00
2022-05-11 21:36:10 +02:00
2021-01-30 20:19:47 +01:00