Skip to content
Snippets Groups Projects
Commit e18eb98d authored by Bob Mottram's avatar Bob Mottram
Browse files

Any key after restore fails

parent 4945db58
No related branches found
No related tags found
No related merge requests found
......@@ -1175,6 +1175,7 @@ function restore_data_from_storage {
$restore_command
retcode="$?"
if [[ "$retcode" != "0" ]]; then
any_key
if [[ "$1" == "local" ]]; then
dialog --title $"Restore all apps from USB" \
--msgbox $"Restore failed with code $retcode" 6 60
......@@ -1199,6 +1200,7 @@ function restore_data_from_storage {
$restore_command "${app_name}"
retcode="$?"
if [[ "$retcode" != "0" ]]; then
any_key
dialog --title $"Restore apps from USB" \
--msgbox $"Restore of ${app_name} failed with code $retcode" 6 60
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment