fix regression from r24838 -- lost a '>' char for redirecting 7za output to null
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 17 Aug 2007 14:39:11 +0000 (14:39 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 17 Aug 2007 14:39:11 +0000 (14:39 +0000)
includes/Export.php

index e7fc2c4..c3ef945 100644 (file)
@@ -558,7 +558,7 @@ class Dump7ZipOutput extends DumpPipeOutput {
                $command = "7za a -bd -si " . wfEscapeShellArg( $file );
                // Suppress annoying useless crap from p7zip
                // Unfortunately this could suppress real error messages too
-               $command .= ' ' . wfGetNull() . ' 2>&1';
+               $command .= ' >' . wfGetNull() . ' 2>&1';
                parent::DumpPipeOutput( $command );
        }
 }