wok rev 16758

sshfs-fuse: typos in rsshfs (thanks om)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 16 22:45:42 2014 +0200 (2014-06-16)
parents 434e78d6fa7a
children b55261bbc2a9
files sshfs-fuse/stuff/rsshfs
line diff
     1.1 --- a/sshfs-fuse/stuff/rsshfs	Mon Jun 16 20:36:28 2014 +0200
     1.2 +++ b/sshfs-fuse/stuff/rsshfs	Mon Jun 16 22:45:42 2014 +0200
     1.3 @@ -1,11 +1,11 @@
     1.4  #!/bin/sh
     1.5  # from https://github.com/rom1v/rsshfs/blob/master/rsshfs
     1.6  
     1.7 -rhost="${2%:*}"
     1.8 +rhost="${2%%:*}"
     1.9  rpath="${2#*:}"
    1.10  lpath="$1"
    1.11  
    1.12 -case "$2" in
    1.13 +case "$1" in
    1.14  -u)	ssh "$rhost" fusermount -u "$rpath"
    1.15  	;;
    1.16