]> Dogcows Code - chaz/tar/blobdiff - scripts/restore.in
(restore_fs): Use root_fs
[chaz/tar] / scripts / restore.in
index 88ab1fa9675530f415cbbfb72c25de84269f3630..c35bdebe7862538fc9b5b3676ddc89d0897ef2cb 100644 (file)
@@ -111,6 +111,7 @@ EOF
 restore_fs()
 {
     fs="`echo \"${1}\" | sed -e 's/^.*://'`"
+    fs=`root_fs $fs`
     fsname="`echo \"${1}\" | sed -e 's/\//:/g'`"
     remotehost="`expr \"${1}\" : '\([^/][^/]*\):.*'`"
     if [ -z "$remotehost" ]; then
@@ -146,7 +147,7 @@ restore_fs()
       backup_host ${remotehost} \
                   "--listed=\"$FILE\"" \
                   "--label=\"$LABEL\"" \
-                 -C ${ROOT_FS-/}$fs
+                 -C $fs
       ${RESTORE_END-:} $level $remotehost $fs $fsname            
     done
 }
@@ -233,4 +234,4 @@ fi) 2>&1 | tee -a "${LOGFILE}"
     
     
           
-       
\ No newline at end of file
+       
This page took 0.019884 seconds and 4 git commands to generate.