Unverified Commit d2315242 authored by UltimateByte's avatar UltimateByte Committed by GitHub
Browse files

Case where all mail addresses are secured

parent 163f3265
......@@ -172,10 +172,14 @@ fi
echo ""
# Display unsecured mail addresses
fn_logecho "Unsecured email addresses:"
for ((index=0; index < ${#error[@]}; index++)); do
echo -en "${error[index]}\n"
done
if [ "${#error[@]}" == "0" ]; then
fn_logecho "Unsecured email addresses:"
for ((index=0; index < ${#error[@]}; index++)); do
echo -en "${error[index]}\n"
done
else
fn_logecho "Congrats! All email addresses passwords are secured"
fi
for ((index=0; index < ${#unsecureddomains[@]}; index++)); do
fn_logecho "Unsecured domain: ${unsecureddomains[index]}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment