From 9b27633e83a47256664df11f6b85e3aae887aa5c Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Wed, 1 Mar 2023 20:56:02 -0500 Subject: [PATCH] fix mailtest-check commits from today --- mailtest-check | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 -- 2.30.2