Skip to content

Commit c106607

Browse files
webfloweitzman
authored andcommitted
Fix exit code handling in sql-cli (#2928)
1 parent 2809178 commit c106607

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/sql/SqlCommands.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ public function cli($options = [])
131131
{
132132
$this->further($options);
133133
$sql = SqlBase::create($options);
134-
if (!drush_shell_proc_open($sql->connect())) {
134+
if (drush_shell_proc_open($sql->connect())) {
135135
throw new \Exception('Unable to open database shell. Rerun with --debug to see any error message.');
136136
}
137137
}

0 commit comments

Comments
 (0)