This patch improves error handling when tar command aborts.
Before that, a message would be logged, but the error not be
reported to the caller.
As a result, it could happen that the files that had not yet been
moved into a tar would be uploaded as-is, because they were
still lying around in the working directory.
With this patch, the TarThread reports more detailed information
about its exit status to the pool, so that it can handle failures
appropriately.
Sorry for the messy history -- apparently GitHub added a "feature"
to maintain history across force pushes, breaking the usual workflow
of rebasing a PR onto a more recent upstream version. I hope they
revert that.
This patch improves error handling when tar command aborts. Before that, a message would be logged, but the error not be reported to the caller.
As a result, it could happen that the files that had not yet been moved into a tar would be uploaded as-is, because they were still lying around in the working directory.
With this patch, the TarThread reports more detailed information about its exit status to the pool, so that it can handle failures appropriately.
Sorry for the messy history -- apparently GitHub added a "feature" to maintain history across force pushes, breaking the usual workflow of rebasing a PR onto a more recent upstream version. I hope they revert that.