break out of loop
This commit is contained in:
parent
5460671a09
commit
1a555c7ee4
|
@ -946,8 +946,8 @@ function restore_data_from_storage {
|
||||||
|
|
||||||
sel=$?
|
sel=$?
|
||||||
case $sel in
|
case $sel in
|
||||||
1) return;;
|
1) break;;
|
||||||
255) return;;
|
255) break;;
|
||||||
esac
|
esac
|
||||||
app_name=$(cat $data)
|
app_name=$(cat $data)
|
||||||
|
|
||||||
|
@ -957,7 +957,6 @@ function restore_data_from_storage {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
clear
|
clear
|
||||||
echo $"Selected $app_name"
|
|
||||||
|
|
||||||
# Restore all
|
# Restore all
|
||||||
if [[ "$app_name" == "$AllStr" ]]; then
|
if [[ "$app_name" == "$AllStr" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue