diff --git a/handlers/dsync.in b/handlers/dsync.in
index db8e9528930ab5b45317759889a03a532cae0145..12220603e17a17e02e4c121ae6ee9fb99e831c61 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