Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: image_to_live.sh

Issue 4137003: Print last 200 lines of update_engine.log from failed update. (Closed) Base URL: http://git.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: image_to_live.sh
diff --git a/image_to_live.sh b/image_to_live.sh
index 6329cafc2f93b66dbd3e3816d4a31311e3682d6e..41c32e0d8817bf1e0de1f4dceabd5b84d4f1e0fe 100755
--- a/image_to_live.sh
+++ b/image_to_live.sh
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698