git: 9front

Download patch

ref: 6f80f6a7be43a1cef6597d7bd6e4db26e9ec15fa
parent: 4af052402d2a6adc0e226501d5668b41a0144583
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;
--