aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-10-18 03:59:05 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-10-18 03:59:05 +0530
commit234f7ae563e8291e35045405de90cd428b5c5d1e (patch)
tree7dba4022abeec6465e5be88286765a639ee5e5a7
parent7b870281aadc0f7eb7399ef2e146fcbfd688bc3d (diff)
downloadnnn-234f7ae563e8291e35045405de90cd428b5c5d1e.tar.gz
Fix #763: Revert "Fix #759" (makes nnn hang when used in a script)
-rw-r--r--src/nnn.c4
1 files changed, 0 insertions, 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