mirror of
https://github.com/FiloSottile/age.git
synced 2026-03-11 08:55:41 +00:00
cmd/age: don't worry about sending decryption output to the terminal
This commit is contained in:
parent
025d8d5c0b
commit
a070570595
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ func main() {
|
|||
}
|
||||
defer f.Close()
|
||||
out = f
|
||||
} else if terminal.IsTerminal(int(os.Stdout.Fd())) {
|
||||
} else if terminal.IsTerminal(int(os.Stdout.Fd())) && !decryptFlag {
|
||||
if armorFlag {
|
||||
// If the output will go to a TTY, and it will be armored, buffer it
|
||||
// up so it doesn't get in the way of typing the input.
|
||||
|
|
|
|||
Loading…
Reference in a new issue