mirror of
https://github.com/octoleo/restic.git
synced 2024-11-13 08:46:33 +00:00
b48f579530
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. |
||
---|---|---|
.. | ||
background_linux_test.go | ||
background_linux.go | ||
background.go | ||
status_test.go | ||
status.go | ||
terminal_posix.go | ||
terminal_unix.go | ||
terminal_windows.go |