shithub: riscv

Download patch

ref: b8430d53957d134d37e7b8298c36dd40fe459a08
parent: 5c2b4dfc8173355629e70a6437ccfc378f0bf757
author: aiju <devnull@localhost>
date: Tue May 15 12:19:28 EDT 2018

sshfs: if we're going to annoy everyone we should at least match documentation

--- a/sys/src/cmd/sshfs.c
+++ b/sys/src/cmd/sshfs.c
@@ -1364,6 +1364,8 @@
 		sshfssrv.wstat = nil;
 		sshfssrv.remove = nil;
 	}
+	if(mtpt == nil)
+		root = ".";
 	
 	if(pflag){
 		rdfd = 0;