modify exit status from -1 to false

pure ruby