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

Show selection number

parent a1fcbfe4
No related branches found
No related tags found
No related merge requests found
......@@ -953,7 +953,7 @@ function restore_data_from_storage {
esac
selected_index=$(cat $data)
selected_index=$[selected_index-1]
app_name=${app_list[$selected_index]}
app_name=${app_list[selected_index]}
# exit
if [[ "$app_name" == "$ExitStr" ]]; then
......@@ -961,7 +961,7 @@ function restore_data_from_storage {
fi
clear
echo $"Selected $app_name"
echo $"Selected $selected_index $app_name"
# Restore all
if [[ "$app_name" == "$AllStr" ]]; then
......
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