I hate bash

This commit is contained in:
Michael Stanclift 2020-06-01 13:36:47 -05:00
parent 7a01524cb1
commit 8a62f79059

View File

@ -595,7 +595,7 @@ function validate_os_sshpass {
error_validate
elif hash dbclient 2>/dev/null
then
if [ "$SSH_CMD" = "dbclient" ]; then echo ''; fi;
# if [ "$SSH_CMD" = "dbclient" ]; then echo ''; fi;
timeout 5 ${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i '$HOME/${SSH_PKIF}' ${REMOTE_USER}@${REMOTE_HOST} 'exit' >/dev/null 2>&1
error_validate
fi