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
|
$restore_command
|
||||||
retcode="$?"
|
retcode="$?"
|
||||||
if [[ "$retcode" != "0" ]]; then
|
if [[ "$retcode" != "0" ]]; then
|
||||||
|
any_key
|
||||||
if [[ "$1" == "local" ]]; then
|
if [[ "$1" == "local" ]]; then
|
||||||
dialog --title $"Restore all apps from USB" \
|
dialog --title $"Restore all apps from USB" \
|
||||||
--msgbox $"Restore failed with code $retcode" 6 60
|
--msgbox $"Restore failed with code $retcode" 6 60
|
||||||
|
@ -1199,6 +1200,7 @@ function restore_data_from_storage {
|
||||||
$restore_command "${app_name}"
|
$restore_command "${app_name}"
|
||||||
retcode="$?"
|
retcode="$?"
|
||||||
if [[ "$retcode" != "0" ]]; then
|
if [[ "$retcode" != "0" ]]; then
|
||||||
|
any_key
|
||||||
dialog --title $"Restore apps from USB" \
|
dialog --title $"Restore apps from USB" \
|
||||||
--msgbox $"Restore of ${app_name} failed with code $retcode" 6 60
|
--msgbox $"Restore of ${app_name} failed with code $retcode" 6 60
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue