diff options
| author | mischief <mischief@offblast.org> | 2018-09-19 13:27:55 -0700 |
|---|---|---|
| committer | mischief <mischief@offblast.org> | 2018-09-19 13:27:55 -0700 |
| commit | 6fa3e08412c49a188e2abe7d9ee54cd1f37a85f5 (patch) | |
| tree | b5c8575d33b136b1096705e79e713c86522c3c0e | |
| parent | 45afecffd1849f8ae6672a389bb430779afce9e3 (diff) | |
| download | plan9front-6fa3e08412c49a188e2abe7d9ee54cd1f37a85f5.tar.xz | |
cfs: close mount half of pipe, fixes cfs not exiting when unmounted
| -rw-r--r-- | sys/src/cmd/cfs/cfs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/cmd/cfs/cfs.c b/sys/src/cmd/cfs/cfs.c index c3a11b9b5..1e148351a 100644 --- a/sys/src/cmd/cfs/cfs.c +++ b/sys/src/cmd/cfs/cfs.c @@ -257,6 +257,7 @@ mountinit(char *server, char *mountpoint) error("pipe failed"); switch(fork()){ case 0: + close(p[1]); break; default: if (noauth) |
