Show error if SecureCRT was not found
This commit is contained in:
parent
de124aa59a
commit
607e61994b
1 changed files with 4 additions and 0 deletions
4
shcrt
4
shcrt
|
@ -245,6 +245,10 @@ function scrt_session {
|
|||
}
|
||||
|
||||
function main {
|
||||
if [ ! -d "$session_path" ]; then
|
||||
alert_message "SecureCRT session path not found.\nLooked for it at:\n$session_path"
|
||||
return 1
|
||||
fi
|
||||
scrt_menu
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue