From: Ian Kelling Date: Thu, 2 Mar 2023 01:56:02 +0000 (-0500) Subject: fix mailtest-check commits from today X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=commitdiff_plain;h=9b27633e83a47256664df11f6b85e3aae887aa5c fix mailtest-check commits from today --- diff --git a/mailtest-check b/mailtest-check index 06ddec6..d5d30aa 100755 --- a/mailtest-check +++ b/mailtest-check @@ -76,7 +76,7 @@ esac main() { - local -a unexpected_spamd_results missing_dnswl last_usec + local -a p_unexpected_spamd_results p_missing_dnswl p_last_usec case $HOSTNAME in bk) folders=(/m/md/{expertpathologyreview.com,amnimal.ninja}/testignore) @@ -287,10 +287,10 @@ EOF ;; esac done - mapfile -O ${#missing_dnswl[@]} -t missing_dnswl <>$path done - for l in "${missing_dnswl[@]}"; do + for l in "${p_missing_dnswl[@]}"; do printf "%s\n" "$l" >>$path done - for l in "${last_usec[@]}"; do + for l in "${p_last_usec[@]}"; do printf "%s\n" "$l" >>$path done mv $path $dir/mailtest-check.prom