Update mysqlbu-scripts.sh

This commit is contained in:
2019-01-07 20:54:27 -06:00
parent 6e682caaa6
commit 0218d397d5

View File

@@ -64,7 +64,7 @@ DELETE_BACKUP() {
fi
echo ""
if [ ${#1} = 1 ] || [ ${sbu1: -5} = "_BASE" ]; then
if [ ${#1} = 1 ] || [ ${1:1:1} = "a" ]; then
echo -e "${idsCL[Red]}(This is a daily base backup, and will result in the full day being DELETED.)"${idsCL[Default]}
delbu="/${sbu1a[1]}/${sbu1a[2]}/${sbu1a[3]}/${sbu1a[4]}"
else