lib/fir/util/build_common.rb in fir-cli-1.4.2 vs lib/fir/util/build_common.rb in fir-cli-1.4.3

- old
+ new

@@ -63,12 +63,12 @@ puts @build_cmd if $DEBUG logger.info 'Building......' logger_info_dividing_line - status = system(@build_cmd) + logger.info `#{@build_cmd}` - unless status + if $?.to_i != 0 logger.error 'Build failed' exit 1 end end