segment path fixed

This commit is contained in:
mirocow 2016-02-16 15:43:48 +04:00
parent 116511a0a3
commit afd2c0613d
1 changed files with 2 additions and 2 deletions

View File

@ -117,9 +117,9 @@ restore()
SET foreign_key_checks = 1; SET unique_checks = 1; SET sql_log_bin = 1;"
done
if [ -f "$DIR/$BDD/$segment" ]; then
if [ -f "$segment" ]; then
f_log "Delete segment $segment"
rm "$DIR/$BDD/$segment"
rm "$segment"
fi
if [ ! -f "$DIR/$BDD/$TABLE.txt.bz2" ]; then