Return non-zero when LocalSettings.php is missing.
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 4 Apr 2006 10:19:19 +0000 (10:19 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 4 Apr 2006 10:19:19 +0000 (10:19 +0000)
maintenance/commandLine.inc

index c1dc5b5..b8188e6 100644 (file)
@@ -156,7 +156,7 @@ if ( file_exists( '/home/wikipedia/common/langlist' ) ) {
        if ( ! is_readable( $settingsFile ) ) {
                print "A copy of your installation's LocalSettings.php\n" .
                  "must exist in the source directory.\n";
-               exit();
+               exit( 1 );
        }
        $wgCommandLineMode = true;
        $DP = $IP;