This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Exit if parent has exited (
#16
)
master
aaeilm
Arun Prakash Jana
7 years ago
parent
0fd6a392db
commit
92236abf31
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
nnn.c
+ 3
- 0
nnn.c
View File
@@ -1295,6 +1295,9 @@ begin:
for (;;) {
redraw(path);
nochange:
/* Exit if parent has exited */
if (getppid() == 1)
_exit(0);
sel = nextsel(&run, &env);
switch (sel) {
case SEL_CDQUIT:
Write
Preview
Loading…
Cancel
Save