Skip to content

Commit 1fad338

Browse files
authored
Fix environment variable init to exit successfully. (#159)
This fixes bytecodealliance/wasmtime#783.
1 parent a280fea commit 1fad338

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libc-bottom-half/sources/__environ.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ static void __wasilibc_populate_environ(void) {
5959
}
6060

6161
__environ = environ_ptrs;
62+
return;
6263
oserr:
6364
_Exit(EX_OSERR);
6465
software:

0 commit comments

Comments
 (0)