Skip to content

Commit

Permalink
Fix exit code handling in sql-cli (#2928)
Browse files Browse the repository at this point in the history
  • Loading branch information
webflo authored and weitzman committed Sep 5, 2017
1 parent 2809178 commit c106607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/sql/SqlCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public function cli($options = [])
{
$this->further($options);
$sql = SqlBase::create($options);
if (!drush_shell_proc_open($sql->connect())) {
if (drush_shell_proc_open($sql->connect())) {
throw new \Exception('Unable to open database shell. Rerun with --debug to see any error message.');
}
}
Expand Down

0 comments on commit c106607

Please sign in to comment.