iostats: dup 9p pipe to both fd 0 and fd 1 for exportfs
This commit is contained in:
parent
08a9a6952d
commit
32291b52bc
1 changed files with 1 additions and 0 deletions
|
@ -354,6 +354,7 @@ main(int argc, char **argv)
|
|||
sysfatal("fork: %r");
|
||||
case 0:
|
||||
dup(efd[0], 0);
|
||||
dup(efd[0], 1);
|
||||
close(efd[0]);
|
||||
close(efd[1]);
|
||||
close(pfd[1]);
|
||||
|
|
Loading…
Reference in a new issue