mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-21 13:43:42 +00:00
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:
parent
fdf44355d2
commit
9a9af719f0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue