mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 05:02:30 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205009
@ -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…
x
Reference in New Issue
Block a user