diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-08-09 13:37:48 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-08-09 13:37:48 -0700 |
commit | 12700c43d60eaae9101cf307a25a211886add1c6 (patch) | |
tree | c958b5cf31c189f8e8821202e25b31b08f788193 /src/library.js | |
parent | b2c5250d4fd96387533724f6c48f4eec1400f3b5 (diff) |
print from exit(), so that explicitly calling it prints out the exit status
Diffstat (limited to 'src/library.js')
-rw-r--r-- | src/library.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js index b68a9324..f0302aaa 100644 --- a/src/library.js +++ b/src/library.js @@ -2961,6 +2961,7 @@ LibraryManager.library = { _exit: function(status) { // void _exit(int status); // http://pubs.opengroup.org/onlinepubs/000095399/functions/exit.html + Module.print('exit(' + status + ') called'); Module['exit'](status); }, fork__deps: ['__setErrNo', '$ERRNO_CODES'], |