Merge pull request #3626 from glensc/patch-1
bin: do not overflow exit code
This commit is contained in:
commit
88da89ada2
|
@ -194,5 +194,5 @@ rescue Exception => e
|
|||
end
|
||||
|
||||
exit e.status_code if e.respond_to?(:status_code)
|
||||
exit 999 # An error occurred with no status code defined
|
||||
exit 255 # An error occurred with no status code defined
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue