From ab25ba0b40725172415cbc496e77ceae95002dea Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 11 Jun 2011 21:54:32 -0700 Subject: [PATCH] Code cleanup --- lib/compass/exec/sub_command_ui.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compass/exec/sub_command_ui.rb b/lib/compass/exec/sub_command_ui.rb index 972f82c8..43a5a308 100644 --- a/lib/compass/exec/sub_command_ui.rb +++ b/lib/compass/exec/sub_command_ui.rb @@ -13,6 +13,7 @@ module Compass::Exec def run! begin perform! + return 0 rescue Exception => e raise e if e.is_a? SystemExit if e.is_a?(::Compass::Error) || e.is_a?(OptionParser::ParseError) @@ -22,7 +23,6 @@ module Compass::Exec end return 1 end - return 0 end protected