ssfs diff ssfs-server @ rev 89
beginning french translation for ssfs-server
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Dec 19 10:54:15 2012 +0100 (2012-12-19) |
parents | 44c43c726cdb |
children | eee4e012bd69 |
line diff
1.1 --- a/ssfs-server Mon Jun 13 22:56:47 2011 +0200 1.2 +++ b/ssfs-server Wed Dec 19 10:54:15 2012 +0100 1.3 @@ -131,8 +131,8 @@ 1.4 1.5 # Handle Ssfs virtual disk. 1.6 umount_vdisk() { 1.7 - if mount | fgrep -q $root; then 1.8 - loop=$(mount | fgrep $root | awk '{print $1}') 1.9 + if mount | fgrep -q "$root "; then 1.10 + loop=$(mount | fgrep "$root " | awk '{print $1}') 1.11 gettext "Unmounting Ssfs vdisk:"; echo " $vdisk" 1.12 umount $root && sleep 1 1.13 gettext "Detaching loop device:"; echo " $loop" 1.14 @@ -143,7 +143,7 @@ 1.15 } 1.16 1.17 mount_vdisk() { 1.18 - if ! mount | fgrep -q $root; then 1.19 + if ! mount | fgrep -q "$root "; then 1.20 [ -d "$root" ] || mkdir -p $root 1.21 gettext "Mounting virtual disk:" 1.22 mount -o loop -t ext3 $vdisk $root