cfs: close mount half of pipe, fixes cfs not exiting when unmounted

This commit is contained in:
mischief 2018-09-19 13:27:55 -07:00
parent 45afecffd1
commit 6fa3e08412

View file

@ -257,6 +257,7 @@ mountinit(char *server, char *mountpoint)
error("pipe failed");
switch(fork()){
case 0:
close(p[1]);
break;
default:
if (noauth)