mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
I hate bash
This commit is contained in:
parent
7a01524cb1
commit
8a62f79059
@ -595,7 +595,7 @@ function validate_os_sshpass {
|
|||||||
error_validate
|
error_validate
|
||||||
elif hash dbclient 2>/dev/null
|
elif hash dbclient 2>/dev/null
|
||||||
then
|
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
|
timeout 5 ${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i '$HOME/${SSH_PKIF}' ${REMOTE_USER}@${REMOTE_HOST} 'exit' >/dev/null 2>&1
|
||||||
error_validate
|
error_validate
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user