mirror of
https://github.com/restic/restic.git
synced 2025-12-30 03:29:36 -05:00
The canUpdateStatus check was simplified in #2608, but it accidentally flipped the condition. The correct check is as follows: If the output is a pipe then restic probably runs in mintty/cygwin. In that case it's possible to update the output status. In all other cases it isn't. This commit inverts to condition again to offer the previous and correct behavior. |
||
|---|---|---|
| .. | ||
| json | ||
| progress | ||
| table | ||
| termstatus | ||
| backup.go | ||
| message.go | ||
| stdio_wrapper.go | ||
| stdio_wrapper_test.go | ||