Upgrade: Catch (e.g. download) warnings as well

This commit is contained in:
fruchti 2023-03-10 21:21:26 +01:00
parent 5cbec50348
commit 4763bbaaa2

View file

@ -167,7 +167,7 @@ in
upgrade_output="$(cat "$output_file")"
rm -f "$output_file"
possible_warnings="$(${grep} -e "^trace:" <<<"$upgrade_output" || true)"
possible_warnings="$(${grep} -e "^\(warning\|trace\):" <<<"$upgrade_output" || true)"
if [ "$possible_warnings" != "" ] ; then
send_email=yes
email_subject_additions="$email_subject_additions with warnings"