for sshfs module make mount point directory if it doesn't exist

master
David Kebler 2020-11-24 11:17:43 -08:00
parent 1368a0b336
commit 02320e007e
1 changed files with 1 additions and 0 deletions

View File

@ -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
}