bin/s3_website in s3_website-2.7.1 vs bin/s3_website in s3_website-2.7.2

- old
+ new

@@ -136,10 +136,10 @@ args = ARGV.join(' ').sub(command_name, '') "s3.website.#{command_name.capitalize} #{args}" end def run_s3_website_jar(jar_file, logger) - java_installed = resolve_exit_status('which java') or resolve_exit_status('java -version') + java_installed = (resolve_exit_status('which java') or resolve_exit_status('java -version')) unless java_installed logger.info_msg "Cannot find Java. s3_website push is implemented in Scala, and it needs Java to run." autoinstall_java_or_print_help_and_exit(logger) end logger.debug_msg "Using #{jar_file}"