Skip to content

Commit

Permalink
Enhancement: use exit code from run()
Browse files Browse the repository at this point in the history
Necessary to be able to tell if command ran successfully or not.
  • Loading branch information
till committed Mar 18, 2014
1 parent a1be11c commit 30332fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/doctrine-module.php
Expand Up @@ -49,4 +49,4 @@

/* @var $cli \Symfony\Component\Console\Application */
$cli = $application->getServiceManager()->get('doctrine.cli');
$cli->run();
exit($cli->run());

0 comments on commit 30332fc

Please sign in to comment.