Permalink
Browse files

correctly pass along stderr when doing mysql dumps

  • Loading branch information...
iamcal committed Mar 28, 2012
1 parent 5019514 commit 368acf2bc3238f13841d95442307762cb0b2c4f9
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.php
View
@@ -34,7 +34,7 @@ function parse_file($schema, $suffix){
if (isset($db[0])) $dump .= " -h$db[0]";
if (isset($db[2])) $dump .= " -u$db[2]";
if (isset($db[3])) $dump .= " -p$db[3]";
- $dump .= " $db[1] --no-data --no-create-db --compact";
+ $dump .= " $db[1] --no-data --no-create-db --compact 2>&1";
$sed = "sed 's/ AUTO_INCREMENT=[0-9]\\+//'";

0 comments on commit 368acf2

Please sign in to comment.