Delete txt source after execute mysql

This commit is contained in:
mirocow 2016-10-21 19:21:36 +04:00 committed by GitHub
parent 598e20a86e
commit ac136915d5
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ restore()
fi
done
if [ ! -f "$DIR/$TABLE.txt.bz2" ]; then
if [ -f "$DIR/$TABLE.txt" ]; then
f_log "Delete source file: $TABLE.txt"
rm $DIR/$TABLE.txt
fi