diff options
author | aiju <devnull@localhost> | 2018-05-15 16:19:28 +0100 |
---|---|---|
committer | aiju <devnull@localhost> | 2018-05-15 16:19:28 +0100 |
commit | b8430d53957d134d37e7b8298c36dd40fe459a08 (patch) | |
tree | cefb552d8f879d120ede3f78dd8775a55ffc4314 /sys/src/cmd/sshfs.c | |
parent | 5c2b4dfc8173355629e70a6437ccfc378f0bf757 (diff) |
sshfs: if we're going to annoy everyone we should at least match documentation
Diffstat (limited to 'sys/src/cmd/sshfs.c')
-rw-r--r-- | sys/src/cmd/sshfs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/src/cmd/sshfs.c b/sys/src/cmd/sshfs.c index c25b4eba8..9a30191b5 100644 --- a/sys/src/cmd/sshfs.c +++ b/sys/src/cmd/sshfs.c @@ -1364,6 +1364,8 @@ threadmain(int argc, char **argv) sshfssrv.wstat = nil; sshfssrv.remove = nil; } + if(mtpt == nil) + root = "."; if(pflag){ rdfd = 0; |