From: Arun Prakash Jana Date: Sat, 17 Oct 2020 22:29:05 +0000 (+0530) Subject: Fix #763: Revert "Fix #759" (makes nnn hang when used in a script) X-Git-Tag: v3.5~28 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=234f7ae563e8291e35045405de90cd428b5c5d1e;p=nnn.git Fix #763: Revert "Fix #759" (makes nnn hang when used in a script) This reverts commit c0745727481af78f93512821aaca8484b273faa2. --- diff --git a/src/nnn.c b/src/nnn.c index ca1603bd..5331dfd7 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -7854,10 +7854,6 @@ int main(int argc, char *argv[]) if (sort) set_sort_flags(sort); - /* Set the process group to current process */ - setpgid(0, 0); - tcsetpgrp(STDOUT_FILENO, getpid()); - opt = browse(initpath, session, pkey); #ifndef NOMOUSE