From 41c3544ed51e8476666e4bc4475524b81287e6c9 Mon Sep 17 00:00:00 2001 From: Micah Anderson <micah@riseup.net> Date: Mon, 30 Mar 2015 12:23:50 -0400 Subject: [PATCH] dsync: the dsync handler incorrectly would test for >3 failures before emitting the failure message, it should do so at =>3 --- handlers/dsync.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/dsync.in b/handlers/dsync.in index db8e952..1222060 100644 --- a/handlers/dsync.in +++ b/handlers/dsync.in @@ -117,7 +117,7 @@ function do_user() { let "failedcount = failedcount + 1" fi - if [ $failedcount -gt 3 ]; then + if [ $failedcount -ge 3 ]; then warning "dsync failed 3 times for this user -- something is not working right. bailing out." fi done -- GitLab