Update gravity.sh

Co-authored-by: RD WebDesign <github@rdwebdesign.com.br>
Signed-off-by: Dominik <DL6ER@users.noreply.github.com>
This commit is contained in:
Dominik 2024-11-17 17:05:26 +01:00 committed by GitHub
parent fdf44355d2
commit 9a9af719f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -357,7 +357,7 @@ try_restore_backup () {
num=$1 num=$1
# Check if a backup exists # Check if a backup exists
if [ -f "${gravityBCKfile}.${num}" ]; then if [ -f "${gravityBCKfile}.${num}" ]; then
echo -e " ${INFO} Attempting to restore previous database from backup" echo -e " ${INFO} Attempting to restore previous database from backup no. ${num}"
cp "${gravityBCKfile}.${num}" "${gravityDBfile}" cp "${gravityBCKfile}.${num}" "${gravityDBfile}"
# If the backup was successfully copied, prepare a new gravity database from # If the backup was successfully copied, prepare a new gravity database from