Print last 200 lines of update_engine.log from failed update.

Change-Id: I0dbc760007038086b94d534d497a7f72b957f365

BUG=
TEST=Ran it on a failed update.

Review URL: http://codereview.chromium.org/4137003
This commit is contained in:
Chris Sosa 2010-10-26 14:04:46 -07:00
parent d2b72f7c2f
commit 3b39a54ea3

View File

@ -346,6 +346,8 @@ function main() {
fi
if [ ${FLAGS_update} -eq ${FLAGS_TRUE} ] && ! run_auto_update; then
warn "Dumping update_engine.log for debugging and/or bug reporting."
tail -n 200 "${FLAGS_update_log}" >&2
die "Update was not successful."
fi