Merge README.md changes

This commit is contained in:
mel aise 2017-04-25 14:45:35 -04:00
commit 43bfbb7db1

3
nnn.c
View file

@ -331,6 +331,9 @@ spawn(char *file, char *arg, char *dir, int flag)
/* Ignore interruptions */
while (waitpid(pid, &status, 0) == -1)
DPRINTF_D(status);
/* Exit if parent process exited */
if (getppid() == 1)
_exit(0);
DPRINTF_D(pid);
}
}