Permalink
Browse files

Errors should be output on stderr.

  • Loading branch information...
1 parent af4b0c9 commit f4b2e03295c195b3e41f3879158923a534279417 @markstory markstory committed Oct 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Console/Command/SchemaShell.php
View
2 lib/Cake/Console/Command/SchemaShell.php
@@ -428,7 +428,7 @@ protected function _run($contents, $event, &$Schema) {
$Schema->after(array($event => $table, 'errors' => $error));
if (!empty($error)) {
- $this->out($error);
+ $this->err($error);
} else {
$this->out(__d('cake_console', '%s updated.', $table));
}

0 comments on commit f4b2e03

Please sign in to comment.