Fix exiting
This commit is contained in:
parent
dc92fc3c0f
commit
ce5ef278c5
3 changed files with 8 additions and 4 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +1,6 @@
|
||||||
[submodule "easybashgui"]
|
[submodule "easybashgui"]
|
||||||
path = easybashgui
|
path = easybashgui
|
||||||
url = https://github.com/BashGui/easybashgui.git
|
url = https://github.com/BashGui/easybashgui.git
|
||||||
|
[submodule "decrypt"]
|
||||||
|
path = decrypt
|
||||||
|
url = https://github.com/DoubleLabyrinth/how-does-SecureCRT-encrypt-password.git
|
||||||
|
|
1
decrypt
Submodule
1
decrypt
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit aa0792baf9cb7179f219c53c41ecffcfaa1c7f33
|
8
shcrt
8
shcrt
|
@ -106,8 +106,11 @@ function scrt_menu {
|
||||||
return
|
return
|
||||||
elif [[ "$menu_choice" == "" ]]; then
|
elif [[ "$menu_choice" == "" ]]; then
|
||||||
scrt_cd ..
|
scrt_cd ..
|
||||||
if [[ "$current_path" == "" ]]; then
|
echo "$current_path"
|
||||||
|
if [[ "$current_path" == "" ]] || [[ "$current_path" == ".." ]]; then
|
||||||
return
|
return
|
||||||
|
else
|
||||||
|
scrt_menu
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
alert_message "Could not find selected item \"$menu_choice\""
|
alert_message "Could not find selected item \"$menu_choice\""
|
||||||
|
@ -116,9 +119,6 @@ function scrt_menu {
|
||||||
|
|
||||||
function main {
|
function main {
|
||||||
scrt_menu
|
scrt_menu
|
||||||
if [[ "$mode" == "$dialog" ]] || [[ "$supermode" == "dialog" ]]; then
|
|
||||||
clear
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Run if not sourced
|
# Run if not sourced
|
||||||
|
|
Loading…
Add table
Reference in a new issue