Merge branch '14-IS_MONGO_BACKUP-add-a-break' of evolix/evocheck into master
This commit is contained in:
commit
5a6234df17
|
@ -658,6 +658,7 @@ if [ -e /etc/debian_version ]; then
|
|||
if ! [[ "$file" =~ indexes ]]; then
|
||||
if [ -f $file ] && [ $(stat -c "%Y" $file) -lt $(date +"%s" -d "now - 2 day") ]; then
|
||||
echo 'IS_MONGO_BACKUP FAILED!'
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue