fix if table is empty
This commit is contained in:
parent
8f54453049
commit
e2efabe8e4
|
@ -112,7 +112,7 @@ restore()
|
||||||
bunzip2 -k $DIR/$BDD/$TABLE.txt.bz2
|
bunzip2 -k $DIR/$BDD/$TABLE.txt.bz2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$DIR/$BDD/$TABLE.txt" ]; then
|
if [ -s "$DIR/$BDD/$TABLE.txt" ]; then
|
||||||
|
|
||||||
f_log "+ $TABLE"
|
f_log "+ $TABLE"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue