Update change-detection.sh
This commit is contained in:
parent
f3eac4efeb
commit
dcbdf28a12
|
@ -43,7 +43,7 @@ function _monitored_files_checksums() {
|
||||||
|
|
||||||
# Check whether Rspamd is used and if so, monitor it's changes as well
|
# Check whether Rspamd is used and if so, monitor it's changes as well
|
||||||
if [[ ${ENABLE_RSPAMD} -eq 1 ]] && [[ -d ${RSPAMD_DMS_D} ]]; then
|
if [[ ${ENABLE_RSPAMD} -eq 1 ]] && [[ -d ${RSPAMD_DMS_D} ]]; then
|
||||||
readarray -d '' STAGING_FILES_RSPAMD < <(find "${RSPAMD_DMS_D}" -type f \( -name '*.sh' -or -name '*.conf' \) -print0)
|
readarray -d '' STAGING_FILES_RSPAMD < <(find "${RSPAMD_DMS_D}" -type f -print0)
|
||||||
STAGING_FILES+=("${STAGING_FILES_RSPAMD[@]}")
|
STAGING_FILES+=("${STAGING_FILES_RSPAMD[@]}")
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue