From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 09CC41F4B4; Mon, 5 Apr 2021 08:59:51 +0000 (UTC) Date: Mon, 5 Apr 2021 13:59:50 +0500 From: Eric Wong To: Kyle Meyer Cc: meta@public-inbox.org Subject: [RFC] script/lei: don't setsid on MUA spawn Message-ID: <20210405085950.GA28933@dcvr> References: <20210402094254.89006-1-e@80x24.org> <87k0ph8ivs.fsf@kyleam.com> <20210405083657.GA25805@dcvr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210405083657.GA25805@dcvr> List-Id: 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 }