Remove init loop log message.
On a Chrome OS system, this log line accounts for the bulk of the
logging produced by Minijail. At this point, however, it doesn't add
much value and it makes it harder to find actual Minijail warnings and
errors. Remove it.
Bug: None
Test: Deploy on Chrome OS, boot. See less useless log lines.
Change-Id: I60cf51c74f55ebe93b1bf76a9791664abec5c156
diff --git a/minijail0.c b/minijail0.c
index 5631c48..f216d6e 100644
--- a/minijail0.c
+++ b/minijail0.c
@@ -70,10 +70,9 @@
return 1;
}
- if (exit_immediately) {
- info("not running init loop, exiting immediately\n");
+ if (exit_immediately)
return 0;
- }
+
int ret = minijail_wait(j);
#if defined(__SANITIZE_ADDRESS__)
minijail_destroy(j);