Browse Source

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

This reverts commit c074572748.
master
Arun Prakash Jana 4 years ago
parent
commit
234f7ae563
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      src/nnn.c

+ 0
- 4
src/nnn.c View File

@@ -7854,10 +7854,6 @@ int main(int argc, char *argv[])
if (sort) if (sort)
set_sort_flags(sort); set_sort_flags(sort);


/* Set the process group to current process */
setpgid(0, 0);
tcsetpgrp(STDOUT_FILENO, getpid());

opt = browse(initpath, session, pkey); opt = browse(initpath, session, pkey);


#ifndef NOMOUSE #ifndef NOMOUSE


Loading…
Cancel
Save