Browse Source

Any key after restore fails

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

+ 2
- 0
src/freedombone-controlpanel View File

@@ -1175,6 +1175,7 @@ function restore_data_from_storage {
1175 1175
             $restore_command
1176 1176
             retcode="$?"
1177 1177
             if [[ "$retcode" != "0" ]]; then
1178
+                any_key
1178 1179
                 if [[ "$1" == "local" ]]; then
1179 1180
                     dialog --title $"Restore all apps from USB" \
1180 1181
                            --msgbox $"Restore failed with code $retcode" 6 60
@@ -1199,6 +1200,7 @@ function restore_data_from_storage {
1199 1200
         $restore_command "${app_name}"
1200 1201
         retcode="$?"
1201 1202
         if [[ "$retcode" != "0" ]]; then
1203
+            any_key
1202 1204
             dialog --title $"Restore apps from USB" \
1203 1205
                    --msgbox $"Restore of ${app_name} failed with code $retcode" 6 60
1204 1206
             return