break out of loop

This commit is contained in:
Bob Mottram 2016-10-24 18:04:27 +01:00
parent 5460671a09
commit 1a555c7ee4
1 changed files with 2 additions and 3 deletions

View File

@ -946,8 +946,8 @@ function restore_data_from_storage {
sel=$?
case $sel in
1) return;;
255) return;;
1) break;;
255) break;;
esac
app_name=$(cat $data)
@ -957,7 +957,6 @@ function restore_data_from_storage {
fi
clear
echo $"Selected $app_name"
# Restore all
if [[ "$app_name" == "$AllStr" ]]; then