summaryrefslogtreecommitdiff
path: root/cmds/incident
diff options
context:
space:
mode:
authorYi Jin <jinyithu@google.com>2017-08-03 18:50:48 -0700
committerYi Jin <jinyithu@google.com>2017-08-07 15:55:10 -0700
commit603f3b3c4f22fd2c287d082da62f185e6b1cb004 (patch)
tree760301c551fc4604ee7f443026ba5ec72dfaf6ac /cmds/incident
parentb18682331458682915bb0e9d46c33e2883d1bcee (diff)
The proto field is set based on which header the data belongs to.
Bug: 64371071 Test: tested manually using native test Change-Id: Ic7671041981d9a722ef00ce6c50cdb12b3e5414d
Diffstat (limited to 'cmds/incident')
-rw-r--r--cmds/incident/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/incident/main.cpp b/cmds/incident/main.cpp
index 180342c85030..47f1db89e1cb 100644
--- a/cmds/incident/main.cpp
+++ b/cmds/incident/main.cpp
@@ -240,6 +240,7 @@ main(int argc, char** argv)
if (!status.isOk()) {
fprintf(stderr, "reportIncident returned \"%s\"\n", status.toString8().string());
+ return 1;
}
// Wait for the result and print out the data they send.