shithub: riscv

Download patch

ref: d421f1c456eae12ecf87823d0d78bd02d98c8590
parent: 26c78402c0785ef98def173496b19d70aac276e5
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Dec 18 17:16:16 EST 2022

ext2srv: leave stderr alone

--- a/sys/src/cmd/ext2srv/xfssrv.c
+++ b/sys/src/cmd/ext2srv/xfssrv.c
@@ -72,10 +72,6 @@
 	iobuf_init();
 	/*notify(handler);*/
 
-	if(!chatty){
-		close(2);
-		open("#c/cons", OWRITE);
-	}
 	if(stdio){
 		srv(&ext2srv);
 	}else{