Ver código fonte

Any key after restore fails

Bob Mottram 7 anos atrás
pai
commit
e18eb98ded
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      src/freedombone-controlpanel

+ 2
- 0
src/freedombone-controlpanel Ver arquivo

@@ -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