Auto-upgrade: Also catch evaluation warnings
This commit is contained in:
parent
9c39dc18d0
commit
e88e24991f
|
@ -178,7 +178,7 @@ in
|
||||||
upgrade_output="$(cat "$output_file")"
|
upgrade_output="$(cat "$output_file")"
|
||||||
rm -f "$output_file"
|
rm -f "$output_file"
|
||||||
|
|
||||||
possible_warnings="$(grep -e "^\(warning\|trace\):" <<<"$upgrade_output" || true)"
|
possible_warnings="$(grep -e "^\(warning\|trace\|evaluation warning\):" <<<"$upgrade_output" || true)"
|
||||||
if [ "$possible_warnings" != "" ] ; then
|
if [ "$possible_warnings" != "" ] ; then
|
||||||
send_email=yes
|
send_email=yes
|
||||||
email_subject_additions="$email_subject_additions with warnings"
|
email_subject_additions="$email_subject_additions with warnings"
|
||||||
|
|
Loading…
Reference in a new issue