diff options
author | Eric Wong <e@80x24.org> | 2021-04-02 22:37:33 -0300 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-04-03 05:08:58 +0000 |
commit | cc276aa9548186cd82b59cd2c8d178010ab8c79d (patch) | |
tree | 1e9fdd4f48c6362a0d8c3e8e60e74a694f4fd8fb | |
parent | 3811f2946efc19189ecab8ea82ea4ffaa564c1c0 (diff) | |
download | public-inbox-cc276aa9548186cd82b59cd2c8d178010ab8c79d.tar.gz |
Sometimes I want to save debug info to a file or pipe even when spawning an MUA.
-rw-r--r-- | lib/PublicInbox/LEI.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm index cdb4b347..475af8f0 100644 --- a/lib/PublicInbox/LEI.pm +++ b/lib/PublicInbox/LEI.pm @@ -849,6 +849,7 @@ sub start_mua { if ($self->{lxs} && $self->{au_done}) { # kick wait_startq syswrite($self->{au_done}, 'q' x ($self->{lxs}->{jobs} // 0)); } + return unless -t $self->{2}; # XXX how to determine non-TUI MUAs? $self->{opt}->{quiet} = 1; delete $self->{-progress}; delete $self->{opt}->{verbose}; |