Skip to content

Commit

Permalink
Fix environment variable init to exit successfully. (WebAssembly#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode authored Jan 14, 2020
1 parent a280fea commit 1fad338
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libc-bottom-half/sources/__environ.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ static void __wasilibc_populate_environ(void) {
}

__environ = environ_ptrs;
return;
oserr:
_Exit(EX_OSERR);
software:
Expand Down

0 comments on commit 1fad338

Please sign in to comment.