mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
>/dev/null 2>&1
This commit is contained in:
parent
62794740c3
commit
5f3df0b663
@ -733,7 +733,7 @@ function md5_compare {
|
|||||||
MESSAGE="Analyzing ${REMOTE_HOST} ${GRAVITY_FI}"
|
MESSAGE="Analyzing ${REMOTE_HOST} ${GRAVITY_FI}"
|
||||||
echo_stat
|
echo_stat
|
||||||
# if [ "$SSH_CMD" = "dbclient" ]; then echo ''; fi;
|
# if [ "$SSH_CMD" = "dbclient" ]; then echo ''; fi;
|
||||||
primaryDBMD5=$(${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i "$HOME/${SSH_PKIF}" ${REMOTE_USER}@${REMOTE_HOST} "md5sum ${PIHOLE_DIR}/${GRAVITY_FI}")
|
primaryDBMD5=$(${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i "$HOME/${SSH_PKIF}" ${REMOTE_USER}@${REMOTE_HOST} "md5sum ${PIHOLE_DIR}/${GRAVITY_FI}") >/dev/null 2>&1
|
||||||
error_validate
|
error_validate
|
||||||
|
|
||||||
MESSAGE="Analyzing $HOSTNAME ${GRAVITY_FI}"
|
MESSAGE="Analyzing $HOSTNAME ${GRAVITY_FI}"
|
||||||
@ -765,7 +765,7 @@ function md5_compare {
|
|||||||
MESSAGE="Analyzing ${REMOTE_HOST} ${CUSTOM_DNS}"
|
MESSAGE="Analyzing ${REMOTE_HOST} ${CUSTOM_DNS}"
|
||||||
echo_stat
|
echo_stat
|
||||||
|
|
||||||
primaryCLMD5=$(${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i "$HOME/${SSH_PKIF}" ${REMOTE_USER}@${REMOTE_HOST} "md5sum ${PIHOLE_DIR}/${CUSTOM_DNS}")
|
primaryCLMD5=$(${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i "$HOME/${SSH_PKIF}" ${REMOTE_USER}@${REMOTE_HOST} "md5sum ${PIHOLE_DIR}/${CUSTOM_DNS}") >/dev/null 2>&1
|
||||||
error_validate
|
error_validate
|
||||||
|
|
||||||
MESSAGE="Analyzing $HOSTNAME ${CUSTOM_DNS}"
|
MESSAGE="Analyzing $HOSTNAME ${CUSTOM_DNS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user