From 02320e007e0778ecd553c0d0205a8e265d6da771 Mon Sep 17 00:00:00 2001 From: David Kebler Date: Tue, 24 Nov 2020 11:17:43 -0800 Subject: [PATCH] for sshfs module make mount point directory if it doesn't exist --- all/modules/sshfs/sshfs.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/all/modules/sshfs/sshfs.sh b/all/modules/sshfs/sshfs.sh index c9d3d25..2633b9e 100755 --- a/all/modules/sshfs/sshfs.sh +++ b/all/modules/sshfs/sshfs.sh @@ -11,6 +11,7 @@ echo "remote $1 already mounted at $2, aborting mount" else echo "mounting via ssh" echo sshfs "$@" -o default_permissions + mkdir -p $2 sshfs "$@" -o default_permissions fi }