Show error if SecureCRT was not found

This commit is contained in:
Davide Depau 2019-09-07 02:09:19 +02:00
parent de124aa59a
commit 607e61994b
Signed by: depau
GPG Key ID: C7D999B6A55EFE86
1 changed files with 4 additions and 0 deletions

4
shcrt
View File

@ -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
}