Improve the change made in the previous commit.
doshell() never returns, so there is no need to see whether we are the parent process.
This commit is contained in:
parent
8d5e4a1416
commit
e8b9127d7e
@ -158,8 +158,7 @@ main(int argc, char *argv[])
|
||||
}
|
||||
if (child == 0)
|
||||
doshell(argv);
|
||||
else
|
||||
close(slave);
|
||||
close(slave);
|
||||
|
||||
if (flushtime > 0)
|
||||
tvp = &tv;
|
||||
|
Loading…
Reference in New Issue
Block a user