jenkinsci / lib-file-leak-detector

Java agent that detects file handle leak
http://file-leak-detector.kohsuke.org/
MIT License
241 stars 112 forks source link

Add an option to the command line to keep compatibility #40

Closed MRamonLeon closed 5 years ago

MRamonLeon commented 5 years ago

This proposal allows to keep the compatibility with existing clients of this library. If the parameter -noexit is not set, all work as always. If you set the -noexit option in the command line (or agent args), the process doesn't exit with System.exit().

@reviewbybees @kohsuke

jglick commented 5 years ago

Amends #39 I suppose. Seems like overkill—presumably there is no valid use case for needing the nonzero exit code, this is merely conventional.