Skip to content

Commit fd909da

Browse files
committed
Revert "Instead of passing exitcode, exit with 1."
This reverts commit 919d914. This was done in the hopes to fix http://bugs.jruby.org/7031 but it didn't work.
1 parent 919d914 commit fd909da

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ng.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,6 @@
9696
#define CHUNKTYPE_EXIT 'X'
9797
#define CHUNKTYPE_STARTINPUT 'S'
9898

99-
// jruby-launcher specific constant
100-
#define JRUBY_EXIT_EXCEPTION (1)
101-
10299
/*
103100
the following is required to compile for hp-ux
104101
originally posted at http://jira.codehaus.org/browse/JRUBY-2346
@@ -327,9 +324,6 @@ void processExit(char *buf, unsigned long len) {
327324
buf[bytesRead] = 0;
328325

329326
exitcode = atoi(buf);
330-
if (exitcode != 0) {
331-
exitcode = JRUBY_EXIT_EXCEPTION;
332-
}
333327

334328
cleanUpAndExit(exitcode);
335329
}

0 commit comments

Comments
 (0)