sshfs module added echo of calling command
parent
a3fabcc7cd
commit
1368a0b336
|
@ -9,7 +9,8 @@ HOST=$(sed 's/.*@\(.*\):.*/\1/' <<< "$1")
|
||||||
if [[ $(mounted $2) ]]; then
|
if [[ $(mounted $2) ]]; then
|
||||||
echo "remote $1 already mounted at $2, aborting mount"
|
echo "remote $1 already mounted at $2, aborting mount"
|
||||||
else
|
else
|
||||||
echo "mounting via ssh $*"
|
echo "mounting via ssh"
|
||||||
|
echo sshfs "$@" -o default_permissions
|
||||||
sshfs "$@" -o default_permissions
|
sshfs "$@" -o default_permissions
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue