Permalink
Browse files

Convert the Babushka::Base.run value to a bool when exiting - 1.8.6's…

… Kernel#exit fails when a non-boolean is passed.
  • Loading branch information...
1 parent c5e562a commit 9159e21664ff8f6c077c1f887da2b1ded3a9dd45 @benhoskings committed Aug 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/babushka.rb
View
2 bin/babushka.rb
@@ -22,4 +22,4 @@
Babushka::Base.exit_on_interrupt!
# Invoke babushka, returning the correct exit status to the shell.
-exit Babushka::Base.run
+exit !!Babushka::Base.run

0 comments on commit 9159e21

Please sign in to comment.