about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2022-01-01 18:04:47 +0100
committerLeah Neukirchen <leah@vuxu.org>2022-01-01 18:04:47 +0100
commitfa27d73ddd379f185a426c3ee44319a9a4fb50ae (patch)
treebb02aabf847eb66a7952137a2bad80f9ea4be057
parent3496545358da0b95880615ead581c13f91b1b5f9 (diff)
downloadmblaze-fa27d73ddd379f185a426c3ee44319a9a4fb50ae.tar.gz
mblaze-fa27d73ddd379f185a426c3ee44319a9a4fb50ae.tar.xz
mblaze-fa27d73ddd379f185a426c3ee44319a9a4fb50ae.zip
mshow: don't spawn pager with -t
-rw-r--r--mshow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mshow.c b/mshow.c
index d0b14a1..1cd2cbc 100644
--- a/mshow.c
+++ b/mshow.c
@@ -808,7 +808,7 @@ main(int argc, char *argv[])
 
 	xpledge("stdio rpath wpath cpath proc exec", NULL);
 
-	if (!rflag && !xflag && !Oflag && !Rflag)
+	if (!rflag && !xflag && !Oflag && !Rflag && !tflag)
 		safe_output = 1;
 
 	if (safe_output && isatty(1)) {