]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 856598 - checksetup.pl should exit(1) if it fails checks. r=gerv, a=sgreen.
authorChristian Ruppert <idl0r@gentoo.org>
Thu, 10 Jul 2014 08:31:35 +0000 (09:31 +0100)
committerGervase Markham <gerv@gerv.net>
Thu, 10 Jul 2014 08:31:35 +0000 (09:31 +0100)
checksetup.pl

index c93071b88a9523e5b4731048595e87b31e3152d1..145faf04e30964083871e19d928c2f848f5d98ed 100755 (executable)
@@ -51,14 +51,14 @@ my $answers_file = $ARGV[0];
 my $silent = $answers_file && !$switch{'verbose'};
 
 print(install_string('header', get_version_and_os()) . "\n") unless $silent;
-exit if $switch{'version'};
+exit if $switch{'version'};
 # Check required --MODULES--
 my $module_results = check_requirements(!$silent);
 Bugzilla::Install::Requirements::print_module_instructions(
     $module_results, !$silent);
-exit if !$module_results->{pass};
+exit if !$module_results->{pass};
 # Break out if checking the modules is all we have been asked to do.
-exit if $switch{'check-modules'};
+exit if $switch{'check-modules'};
 
 ###########################################################################
 # Load Bugzilla Modules