don't print repeated --ri swoole check

This commit is contained in:
DubbleClick
2025-08-26 01:01:45 +07:00
parent 9803bf6c3f
commit 43352ab986
4 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ class swoole_hook_mysql extends Extension
public function runCliCheckUnix(): void
{
[$ret, $out] = shell()->execWithResult(BUILD_ROOT_PATH . '/bin/php -n' . $this->getSharedExtensionLoadString() . ' --ri "swoole"');
[$ret, $out] = shell()->execWithResult(BUILD_ROOT_PATH . '/bin/php -n' . $this->getSharedExtensionLoadString() . ' --ri "swoole"', false);
$out = implode('', $out);
if ($ret !== 0) {
throw new ValidationException("extension {$this->getName()} failed compile check: php-cli returned {$ret}", validation_module: 'extension swoole_hook_mysql sanity check');