fixed a bad if-bug: MAN=0 was not set
This commit is contained in:
@@ -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 &
|
||||
|
||||
Reference in New Issue
Block a user