From 234f7ae563e8291e35045405de90cd428b5c5d1e Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 18 Oct 2020 03:59:05 +0530 Subject: Fix #763: Revert "Fix #759" (makes nnn hang when used in a script) This reverts commit c0745727481af78f93512821aaca8484b273faa2. --- src/nnn.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index ca1603b..5331dfd 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 -- cgit v1.2.3-70-g09d2