diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-02-15 16:53:06 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-02-15 16:53:06 +0200 |
commit | 10fe71da645b70c4c59079a0c84317170e806a9d (patch) | |
tree | 8b70a9538ae04851be2c3eb2d49ddd1d83fc49b6 | |
parent | b2eed67d1b65ffa65c7164216bd27a222a442a6f (diff) | |
download | beam-10fe71da645b70c4c59079a0c84317170e806a9d.tar.gz beam-10fe71da645b70c4c59079a0c84317170e806a9d.tar.bz2 |
Fix a minor bug
* lib/beam/fs.sh (initdb): Print diagnostics before overwriting
the variable it uses.
-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 9944739..b4d0c2d 100755 --- a/lib/beam/fs.sh +++ b/lib/beam/fs.sh @@ -47,9 +47,9 @@ initdb() { if [ -r $filename ]; then cp $filename $backup_snapshot_dir/$1-$week-$round-$level.db else + logit "previous snapshot file $filename not found; falling back to level 0" filename=$backup_snapshot_dir/$1-$week-$round-$level.db test -r $filename && rm $filename - logit "previous snapshot file $filename not found; falling back to level 0" fi fi } |