mirror of
https://github.com/restic/restic.git
synced 2025-10-11 02:40:16 +00:00
Merge pull request #3150 from MichaelEischer/fix-windows-redir-output
termstatus: Fix canUpdateStatus detection for redirected output on windows
This commit is contained in:
@@ -88,8 +88,8 @@ func canUpdateStatus(fd uintptr) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
// check if the output file type is a pipe (0x0003)
|
||||
if isPipe(fd) {
|
||||
// check that the output file type is a pipe (0x0003)
|
||||
if !isPipe(fd) {
|
||||
return false
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user