Skip to content
Snippets Groups Projects
Commit fcb72155 authored by Bob Mottram's avatar Bob Mottram
Browse files

Clear screen before backup or restore

parent dccdc560
No related branches found
No related tags found
No related merge requests found
......@@ -918,6 +918,7 @@ function backup_data {
rm "$data"
if [ "$backup_password" ]; then
if [ ${#backup_password} -ge 8 ]; then
clear
# shellcheck disable=SC2086
if /usr/bin/timeout $BACKUP_TIMEOUT_SEC /usr/local/bin/${PROJECT_NAME}-backup-local simple "$backup_password"; then
dialog --title $"Backup" \
......@@ -1098,6 +1099,7 @@ function restore_data {
rm "$data"
if [ "$backup_password" ]; then
if [ ${#backup_password} -ge 8 ]; then
clear
# shellcheck disable=SC2086
if /usr/bin/timeout $BACKUP_TIMEOUT_SEC /usr/local/bin/${PROJECT_NAME}-restore-local simple "$backup_password"; then
dialog --title $"Restore" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment