ctdb-scripts: Drop CTDB_MAX_PERSISTENT_CHECK_ERRORS option
[nivanova/samba-autobuild/.git] / ctdb / config / events.d / 00.ctdb
index 272dcb1ba355392422b78b718c5a4bd6e189b9c1..8d376d2a95b84b7afaa57eafae743adac36019d7 100755 (executable)
@@ -68,8 +68,6 @@ check_persistent_databases ()
     _dir="${CTDB_DBDIR_PERSISTENT:-${CTDB_VARDIR}/persistent}"
     [ -d "$_dir" ] || return 0
 
-    [ "${CTDB_MAX_PERSISTENT_CHECK_ERRORS:-0}" = "0" ] || return 0
-
     for _db in "$_dir/"*.tdb.*[0-9] ; do
        [ -r "$_db" ] || continue
        check_tdb "$_db" || \