mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
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:
parent
d2b72f7c2f
commit
3b39a54ea3
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user