For bootstat_get_last, don't complain about non-existent events.
Requested events are converted into files to be processed by
'tail -1'. If the file doesn't exist, tail complains. We don't
want the complaint, because this command is meant to be used to test
for non-existent events.
BUG=chromium-os:32203
TEST=run the test from the bug report
Change-Id: I0c76f531e84ad71470394793cc1e2cdfe977e3df
Reviewed-on: https://gerrit.chromium.org/gerrit/26271
Reviewed-by: Daniel Erat <derat@chromium.org>
Tested-by: Richard Barnette <jrbarnette@chromium.org>
Commit-Ready: Richard Barnette <jrbarnette@chromium.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
1 file changed