diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-03-20 15:31:03 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-03-20 15:31:03 -0400 |
commit | abe85c9f1b267c4787af9c9b0d03dcf9600e7187 (patch) | |
tree | 6fa673c079d23b6c5270d25f193c44599a830273 /debugfs | |
parent | 2d328bb76d2d63bdfdba923b54c28bd686bd8fec (diff) | |
parent | a7ee4e01838a2ae5e3adf2d159d2f8f824e17ed7 (diff) | |
download | e2fsprogs-abe85c9f1b267c4787af9c9b0d03dcf9600e7187.tar.gz |
Merge branch 'maint' into next
Diffstat (limited to 'debugfs')
-rw-r--r-- | debugfs/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/debugfs/util.c b/debugfs/util.c index 9ac570e8..7ff347bc 100644 --- a/debugfs/util.c +++ b/debugfs/util.c @@ -82,6 +82,8 @@ FILE *open_pager(void) char buf[80]; signal(SIGPIPE, SIG_IGN); + if (!isatty(1)) + return stdout; if (!pager) pager = getenv("PAGER"); if (!pager) |