aboutsummaryrefslogtreecommitdiff
path: root/sshfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshfs.c')
-rw-r--r--sshfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sshfs.c b/sshfs.c
index 4945302..125a368 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -3863,6 +3863,10 @@ int main(int argc, char *argv[])
exit(1);
}
+ /*
+ * FIXME: trim $PATH so it doesn't contain anything inside the
+ * mountpoint, which would deadlock.
+ */
res = ssh_connect();
if (res == -1) {
fuse_unmount(mountpoint, ch);