Commit c4a9630b c4a9630ba85a6b04aea2eeebca8d04900d3a7f0a by Vladimir Chizhov

Removed extra error from ruby on incorrect exiting

When phantomjs process was interrupted (i.e. ith ^C) it's exitstatus is
nil, so `exit` function prints useless error message about nil to int
conversion.

Now explicitly exit with 1, which is a default ruby exit behaviour and
stays in sync with a python bin script.
1 parent f04ed9f6
......@@ -59,4 +59,4 @@ if system(CASPER_COMMAND.join(" ")).nil?
puts "Fatal: Did you install phantomjs?"
end
exit $?.exitstatus
exit $?.exitstatus || 1
......