Change function call position

This commit is contained in:
Michael Stanclift 2020-06-02 20:51:16 -05:00
parent e436c8bd5e
commit e48353724f

View File

@ -618,11 +618,10 @@ function validate_os_sshpass {
MESSAGE="Validating Connection to ${REMOTE_HOST}"
echo_stat
ssh_function
CMD_TIMEOUT='5'
CMD_REQUESTED="exit"
echo -e "${SSH_SEND}"
ssh_function
echo -en "${SSH_SEND}"
${SSH_SEND} >/dev/null 2>&1
error_validate