From affe98e82a2d6756c6593102f37e8ba447f5d760 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Fri, 29 May 2020 14:19:07 -0500 Subject: [PATCH] Fineto --- gravity-sync.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index 011909b..e8479df 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -300,7 +300,8 @@ function push_gs { MESSAGE="Setting Ownership on ${CUSTOM_DNS}" echo_stat ${SSHPASSWORD} ssh -p ${SSH_PORT} -i "$HOME/${SSH_PKIF}" ${REMOTE_USER}@${REMOTE_HOST} "sudo chown root:root ${PIHOLE_DIR}/${CUSTOM_DNS}" >/dev/null 2>&1 - error_validate + error_validate + fi fi MESSAGE="Contacting Borg Collective" @@ -319,7 +320,7 @@ function push_gs { logs_export exit_withchange - + } function restore_gs {