# HG changeset patch # User Pascal Bellard # Date 1402951542 -7200 # Node ID c176489f467bbbd3485dbe2979398e6846f4fc84 # Parent 434e78d6fa7a098346d2785c210224bed59ef246 sshfs-fuse: typos in rsshfs (thanks om) diff -r 434e78d6fa7a -r c176489f467b sshfs-fuse/stuff/rsshfs --- a/sshfs-fuse/stuff/rsshfs Mon Jun 16 20:36:28 2014 +0200 +++ b/sshfs-fuse/stuff/rsshfs Mon Jun 16 22:45:42 2014 +0200 @@ -1,11 +1,11 @@ #!/bin/sh # from https://github.com/rom1v/rsshfs/blob/master/rsshfs -rhost="${2%:*}" +rhost="${2%%:*}" rpath="${2#*:}" lpath="$1" -case "$2" in +case "$1" in -u) ssh "$rhost" fusermount -u "$rpath" ;;