aboutsummaryrefslogtreecommitdiff
path: root/lib/beam/fs.sh
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-12-04 19:04:53 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2012-12-04 19:04:53 +0200
commitdfc873ad5f8cd919bdf7f9c911c9075cb3ea45b9 (patch)
treed119445d7e5690f21fb6183d641f65b36c4b1307 /lib/beam/fs.sh
parente8534e654e2dc2ef125b67f0f9d7ad9e21322e83 (diff)
downloadbeam-dfc873ad5f8cd919bdf7f9c911c9075cb3ea45b9.tar.gz
beam-dfc873ad5f8cd919bdf7f9c911c9075cb3ea45b9.tar.bz2
Bugfix.
* lib/beam/fs.sh (fs_restore): Fix the hardcoded file suffix.
Diffstat (limited to 'lib/beam/fs.sh')
-rwxr-xr-xlib/beam/fs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/beam/fs.sh b/lib/beam/fs.sh
index 42da67b..9944739 100755
--- a/lib/beam/fs.sh
+++ b/lib/beam/fs.sh
@@ -140,7 +140,7 @@ fs_restore() {
for i in $(seq 1 $level)
do
logit "restoring from the $round/$i backup"
- $dry_run $tarcommand $backup_archive_dir/$1-$week-$round-$i.tar.bz2
+ $dry_run $tarcommand $backup_archive_dir/$1-$week-$round-$i.$tar_suffix
tarcode $?
done
logit "finished restoring $text"

Return to:

Send suggestions and report system problems to the System administrator.