Commit 68ffc10
committed
display_privs: Don't line wrap if output is not a tty
Previously we just checked whether the output was a pipe. However,
that doesn't catch the output being redirected to a file or shells
like ksh93 which use a socketpair instead of a pipe.1 parent bcbaca6 commit 68ffc10
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
| 462 | + | |
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
| |||
0 commit comments