Btw, the setsid call doesn't seem necessary, either, the MUA
seems to work fine without it...

------8<------
Subject: [PATCH] script/lei: don't setsid on MUA spawn

---
 script/lei | 1 -
 1 file changed, 1 deletion(-)

diff --git a/script/lei b/script/lei
index 76217ab9..cd535afb 100755
--- a/script/lei
+++ b/script/lei
@@ -48,7 +48,6 @@ my $exec_cmd = sub {
                $do_exec->() if scalar(@$fds); # git-credential, pager
 
                # parent backgrounds on MUA
-               POSIX::setsid() > 0 or die "setsid: $!";
                @parent = ($parent);
                return; # continue $recv_cmd in background
        }
--
unsubscribe: one-click, see List-Unsubscribe header
archive: https://public-inbox.org/meta/

Reply via email to