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:
Ed Schouten 2010-03-11 11:28:29 +00:00
parent 8d5e4a1416
commit e8b9127d7e

View File

@ -158,8 +158,7 @@ main(int argc, char *argv[])
}
if (child == 0)
doshell(argv);
else
close(slave);
close(slave);
if (flushtime > 0)
tvp = &tv;