do not overflow exit code

see discussion here

ccc45ebd7a
This commit is contained in:
Elan Ruusamäe 2014-05-04 11:33:30 +03:00
parent 51ffa4181c
commit e7beb04c3e
1 changed files with 1 additions and 1 deletions

View File

@ -194,5 +194,5 @@ rescue Exception => e
end end
exit e.status_code if e.respond_to?(:status_code) 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 end