From 4c350a032e91f229e6efd1e7670cbbe27cae962f Mon Sep 17 00:00:00 2001
From: Bob Mottram <bob@freedombone.net>
Date: Thu, 11 May 2017 23:51:07 +0100
Subject: [PATCH] Restore database name

---
 src/freedombone-utils-backup | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/freedombone-utils-backup b/src/freedombone-utils-backup
index b15163186..f12392d31 100755
--- a/src/freedombone-utils-backup
+++ b/src/freedombone-utils-backup
@@ -521,7 +521,7 @@ function restore_database {
     restore_app_dir=$2
 
     if [ -d $USB_MOUNT/backup/${restore_app_name} ]; then
-        echo $"Restoring ${1} database"
+        echo $"Restoring ${restore_app_name} database"
         local_database_dir=/root/temp${restore_app_name}data
         function_check restore_directory_from_usb
         restore_directory_from_usb "${local_database}" "${restore_app_name}data"
-- 
GitLab