diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-12-04 19:04:53 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-12-04 19:04:53 +0200 |
commit | dfc873ad5f8cd919bdf7f9c911c9075cb3ea45b9 (patch) | |
tree | d119445d7e5690f21fb6183d641f65b36c4b1307 /lib | |
parent | e8534e654e2dc2ef125b67f0f9d7ad9e21322e83 (diff) | |
download | beam-dfc873ad5f8cd919bdf7f9c911c9075cb3ea45b9.tar.gz beam-dfc873ad5f8cd919bdf7f9c911c9075cb3ea45b9.tar.bz2 |
Bugfix.
* lib/beam/fs.sh (fs_restore): Fix the hardcoded file suffix.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/beam/fs.sh | 2 |
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" |