fixed a bad if-bug: MAN=0 was not set

This commit is contained in:
2015-03-25 08:45:31 +03:00
parent 9d91a48adb
commit 18bbe7abd2

View File

@@ -49,7 +49,7 @@ function mount {
fi
# Command to mount actually
if [ "$MAN" = "0" ]; then
if [ "$MAN" != "1" ]; then
sshfs "$SSH": "$LOCALMOUNTDIR"/"$SSH"/ -o follow_symlinks &
else
echo "$SSHPASS" | sshfs -o password_stdin -p "$SSHPORT" "$SSHUSER"@"$SSHHOST":"$SSHPATH" "$LOCALMOUNTDIR"/"$SSH"/ -o follow_symlinks &