catalyst-auto: e-mail more lines of failed logs (1000 instead of 200)
It helps if the log contains the actual error Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
parent
dca7fccd1d
commit
d5223d3408
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ send_email() {
|
||||||
local body
|
local body
|
||||||
|
|
||||||
if [ -n "${logfile}" ]; then
|
if [ -n "${logfile}" ]; then
|
||||||
body=$(printf '%b\n\n\n' "${message}"; tail -n 200 "${logfile}"; printf '\n\n\nFull build log at %s\n' "${logfile}")
|
body=$(printf '%b\n\n\n' "${message}"; tail -n 1000 "${logfile}"; printf '\n\n\nFull build log at %s\n' "${logfile}")
|
||||||
else
|
else
|
||||||
body=${message}
|
body=${message}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue