Browse Source

Unmount on failure

Bob Mottram 7 years ago
parent
commit
a22743f3fb
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone-utils-backup

+ 2
- 0
src/freedombone-utils-backup View File

@@ -781,6 +781,8 @@ function restore_database {
781 781
         fi
782 782
     else
783 783
         echo $"No database backup found for ${restore_app_name}"
784
+        set_user_permissions
785
+        backup_unmount_drive
784 786
         exit 7357224
785 787
     fi
786 788
 }