Skip to content

Commit 50c3fa2

Browse files
committed
update depending on getenv returning false
1 parent cfc6a78 commit 50c3fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Console/Application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ protected function configureIO(InputInterface $input, OutputInterface $output)
855855
$input->setInteractive(false);
856856
} elseif (function_exists('posix_isatty') && $this->getHelperSet()->has('dialog')) {
857857
$inputStream = $this->getHelperSet()->get('dialog')->getInputStream();
858-
if (!@posix_isatty($inputStream) && true !== getenv('SHELL_INTERACTIVE')) {
858+
if (!@posix_isatty($inputStream) && false === getenv('SHELL_INTERACTIVE')) {
859859
$input->setInteractive(false);
860860
}
861861
}

0 commit comments

Comments
 (0)