mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-30 00:00:15 +01:00
check also in a multikernel env. if HermitCore is sucessfully booted
This commit is contained in:
parent
f8b1d0050a
commit
640604abb5
2 changed files with 3 additions and 3 deletions
2
lwip
2
lwip
|
@ -1 +1 @@
|
||||||
Subproject commit 3b7c88f0cb248a647b8edff99793524162ec9083
|
Subproject commit 51d48fe0c67131da346c9ef280b2019c77f6e607
|
|
@ -270,7 +270,7 @@ static void wait_hermit_available(void)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
int fd = inotify_init();
|
int fd = inotify_init();
|
||||||
if ( fd < 0 ) {
|
if (fd < 0) {
|
||||||
perror( "inotify_init" );
|
perror( "inotify_init" );
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
@ -522,7 +522,7 @@ static int multi_init(char *path)
|
||||||
free(result);
|
free(result);
|
||||||
|
|
||||||
// wait until HermitCore is sucessfully booted
|
// wait until HermitCore is sucessfully booted
|
||||||
//wait_hermit_available();
|
wait_hermit_available();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue