From 6d80d6a3cbc89cddaf30fd051d4d74a4615cde83 Mon Sep 17 00:00:00 2001 From: mark_story Date: Tue, 20 Aug 2013 18:03:39 -0400 Subject: [PATCH] Add missing return. --- lib/Cake/Console/Command/ConsoleShell.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Console/Command/ConsoleShell.php b/lib/Cake/Console/Command/ConsoleShell.php index 4337c55fe25..d1659c16b4f 100644 --- a/lib/Cake/Console/Command/ConsoleShell.php +++ b/lib/Cake/Console/Command/ConsoleShell.php @@ -439,7 +439,7 @@ protected function _columns($command) { */ protected function _routesReload() { if (!$this->_loadRoutes()) { - $this->err(__d('cake_console', "There was an error loading the routes config. Please check that the file exists and is free of parse errors.")); + return $this->err(__d('cake_console', "There was an error loading the routes config. Please check that the file exists and is free of parse errors.")); } $this->out(__d('cake_console', "Routes configuration reloaded, %d routes connected", count(Router::$routes))); }