fix if table is empty

This commit is contained in:
mirocow 2016-03-17 20:38:13 +04:00
parent 8f54453049
commit e2efabe8e4
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ restore()
bunzip2 -k $DIR/$BDD/$TABLE.txt.bz2
fi
if [ -f "$DIR/$BDD/$TABLE.txt" ]; then
if [ -s "$DIR/$BDD/$TABLE.txt" ]; then
f_log "+ $TABLE"