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

4
shcrt
View file

@ -245,6 +245,10 @@ function scrt_session {
} }
function main { 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 scrt_menu
} }