dir=/var/lib/prometheus/node-exporter
path=$dir/mailtest-check.prom.$$
if $doprom && [[ -e $dir ]]; then
- for l in "${unexpected_spamd_results missing_dnswl[@]}"; do
+ for l in "${unexpected_spamd_results[@]}"; do
printf "%s\n" "$l" >>$path
done
for l in "${missing_dnswl[@]}"; do