From 07b874481fddcfa0be62874ef4d7db1f1f342663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20=C5=BBenczykowski?= Date: Wed, 15 Jul 2020 01:40:56 -0700 Subject: [PATCH] bpfloader: sleep 20 seconds on failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (should make it easier to observe logs via adb) Test: atest, TreeHugger Bug: 150040815 Bug: 160546011 Signed-off-by: Maciej Żenczykowski Change-Id: I20d6ede4ddf516a91c707aa08cf3a92aed39b03b --- bpfloader/BpfLoader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bpfloader/BpfLoader.cpp b/bpfloader/BpfLoader.cpp index e67c469..5aacf6c 100644 --- a/bpfloader/BpfLoader.cpp +++ b/bpfloader/BpfLoader.cpp @@ -89,6 +89,7 @@ int main() { ALOGE("If this triggers randomly, you might be hitting some memory allocation problems or " "startup script race."); ALOGE("--- DO NOT EXPECT SYSTEM TO BOOT SUCCESSFULLY ---"); + sleep(20); return 2; }