Skip to content

Commit

Permalink
don't print to error.log when drip jvm exits because of a signal
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjudd committed Jan 31, 2013
1 parent 1bf6c59 commit 697b60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drip_daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ int main(int argc, char **argv) {
status /= 256;
if (access(path("status"), F_OK) != -1) {
spit_int("status", status);
} else {
} else if (status <= 128) { // don't print an error for signals
fprintf(stderr, "java process exited prematurely with status %d: ", status);
int i;
for (i=1; i < argc; i++) {
Expand Down

0 comments on commit 697b60e

Please sign in to comment.