Upgrade: Catch (e.g. download) warnings as well
This commit is contained in:
parent
5cbec50348
commit
4763bbaaa2
|
@ -167,7 +167,7 @@ in
|
||||||
upgrade_output="$(cat "$output_file")"
|
upgrade_output="$(cat "$output_file")"
|
||||||
rm -f "$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
|
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