Any key after restore fails
This commit is contained in:
parent
4945db5817
commit
e18eb98ded
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue