rp

simple email tools
git clone https://git.parazyd.org/rp
Log | Files | Refs | README | LICENSE

commit f385eff087138ac8a22ac0f97084fa668c4b823d
parent 6ec6b56d1265287b9c070636040c44b1f3f470ff
Author: parazyd <parazyd@dyne.org>
Date:   Wed, 28 Feb 2018 00:46:42 +0100

rpsync: Add a ping to test network reachability.

Diffstat:
Mbin/rpsync | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/bin/rpsync b/bin/rpsync @@ -31,6 +31,7 @@ for i in $@; do esac done +ping -c 1 "$imap1host" || edie "$imap1host unreachable" ebegin "starting imapsync" [ -n "$delete" ] && ewarn "remote deletion enabled"