Fix #763: Revert "Fix #759" (makes nnn hang when used in a script)

This reverts commit c074572748.
This commit is contained in:
Arun Prakash Jana 2020-10-18 03:59:05 +05:30
parent 7b870281aa
commit 234f7ae563

View file

@ -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