From a22743f3fb6fc5c7a8d0628bea23e24b7a5fe545 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 24 Jan 2018 17:09:35 +0000 Subject: [PATCH] Unmount on failure --- src/freedombone-utils-backup | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-utils-backup b/src/freedombone-utils-backup index 39e1de00..3cbb078d 100755 --- a/src/freedombone-utils-backup +++ b/src/freedombone-utils-backup @@ -781,6 +781,8 @@ function restore_database { fi else echo $"No database backup found for ${restore_app_name}" + set_user_permissions + backup_unmount_drive exit 7357224 fi }