git: 9front

Download patch

ref: 5bd1b2d56f3f433919adee76ba2cb74d6cf063b3
parent: 0ca6063c8ecb32da1a63b6ca3048c0c7b93977b2
author: mischief <mischief@offblast.org>
date: Wed Sep 19 09:27:55 EDT 2018

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

--- a/sys/src/cmd/cfs/cfs.c
+++ b/sys/src/cmd/cfs/cfs.c
@@ -257,6 +257,7 @@
 		error("pipe failed");
 	switch(fork()){
 	case 0:
+		close(p[1]);
 		break;
 	default:
 		if (noauth)
--