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:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user