Some changes to script output.

This commit is contained in:
Christoph 2021-08-01 15:15:16 +02:00
parent 3bca2aca0a
commit 4d59074cbe

View File

@ -2396,13 +2396,6 @@ if ! \$certs_updated && ! \$certs_processed && \$_successfully_finished_script
if \$verbose ; then
info "All Certificates are up to date."
echo ""
echo ""
echo "Output message from dehydrated script:"
echo "======================================"
echo ""
cat \$_logfile
echo ""
echo ""
fi
rm -f \$_logfile
@ -2705,21 +2698,13 @@ if ! \$_successfully_finished_script || grep -i "error:" \$_logfile > /dev/null
else
echo -e "\\n[ Error ]: Creating (some) Certificates failed!"
echo -e " See also /var/log/\$(basename \$_logfile) \\n"
echo ""
echo "Output message from dehydrated script:"
echo "======================================"
echo ""
cat \$_logfile
echo ""
fi
echo ""
echo "Output message from dehydrated script:"
echo "======================================"
echo ""
cat \$_logfile
echo ""
elif \$verbose ; then
echo ""
echo ""
echo "Output message from dehydrated script:"
echo "======================================"
echo ""
cat \$_logfile
echo ""
fi
rm -f \$_logfile