commit | 4b6aba56c02592d24f1d563b5355ef51686b6cd2 | [log] [tgz] |
---|---|---|
author | Evan Benn <evanbenn@chromium.org> | Mon Mar 02 18:07:48 2020 +1100 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 26 05:29:07 2020 +0000 |
tree | 2e4e1a2d67cc398206a33085e60fa8848f055cc3 | |
parent | ab11becb7ff671e2595d4632bcadc15c127800df [diff] |
common.sh: Prefix all lines in error with time Only the first line of an error message was being prefixed with the time. Causing alignment to be wrong for multi line messages, as used for example by ps -f. BUG=None TEST=run a failing command, observe alignment is fixed Change-Id: Ic533fe1d70d70a6a937122b0d5452d5f7b0362e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/2082663 Tested-by: Evan Benn <evanbenn@chromium.org> Reviewed-by: Chris McDonald <cjmcdonald@chromium.org> Commit-Queue: Evan Benn <evanbenn@chromium.org>