cfs: close mount half of pipe, fixes cfs not exiting when unmounted
This commit is contained in:
parent
45afecffd1
commit
6fa3e08412
1 changed files with 1 additions and 0 deletions
|
@ -257,6 +257,7 @@ mountinit(char *server, char *mountpoint)
|
||||||
error("pipe failed");
|
error("pipe failed");
|
||||||
switch(fork()){
|
switch(fork()){
|
||||||
case 0:
|
case 0:
|
||||||
|
close(p[1]);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (noauth)
|
if (noauth)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue