From fdbb1d8c7c9db3e82ea2f3aaac6b1d15139b8fc8 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 3 Mar 2005 23:16:03 +0000 Subject: [PATCH] (restore_fs): Use root_fs --- scripts/restore.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/restore.in b/scripts/restore.in index 88ab1fa..c35bdeb 100644 --- a/scripts/restore.in +++ b/scripts/restore.in @@ -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 + -- 2.44.0