From 5a4a354875b4a53627a556c44429118eb70f8120 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Fri, 28 Jul 2017 13:33:49 +0200 Subject: [PATCH] check also in a multikernel env. if HermitCore is sucessfully booted --- lwip | 2 +- tools/proxy.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lwip b/lwip index 3b7c88f0c..51d48fe0c 160000 --- a/lwip +++ b/lwip @@ -1 +1 @@ -Subproject commit 3b7c88f0cb248a647b8edff99793524162ec9083 +Subproject commit 51d48fe0c67131da346c9ef280b2019c77f6e607 diff --git a/tools/proxy.c b/tools/proxy.c index 58aaef55e..d36d01cdc 100644 --- a/tools/proxy.c +++ b/tools/proxy.c @@ -270,7 +270,7 @@ static void wait_hermit_available(void) return; int fd = inotify_init(); - if ( fd < 0 ) { + if (fd < 0) { perror( "inotify_init" ); exit(1); } @@ -522,7 +522,7 @@ static int multi_init(char *path) free(result); // wait until HermitCore is sucessfully booted - //wait_hermit_available(); + wait_hermit_available(); return 0; }