summaryrefslogtreecommitdiff
path: root/sys/src/cmd/sshfs.c
diff options
context:
space:
mode:
authorspew <devnull@localhost>2018-05-18 21:39:19 -0400
committerspew <devnull@localhost>2018-05-18 21:39:19 -0400
commita59aa24a94f84afd0fe52c28896d24de4becef54 (patch)
treee81bbee815314f6daff9be017bcbd12b86914b59 /sys/src/cmd/sshfs.c
parent9360415d569515e7e3b212e5ca3416e766e32bec (diff)
parent530ab11783fc11f57b8f44015d69bee93125e09f (diff)
downloadplan9front-a59aa24a94f84afd0fe52c28896d24de4becef54.tar.xz
merge
Diffstat (limited to 'sys/src/cmd/sshfs.c')
-rw-r--r--sys/src/cmd/sshfs.c2
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;