1
0
Fork 0

Merge pull request #9651 from bbeckford/master

Suppress error when chdir($oldWorkingDir); unsuccessful
pull/9658/head
Jordi Boggiano 2021-01-27 09:29:01 +01:00 committed by GitHub
commit e5e9c2cd59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -309,8 +309,9 @@ class Application extends BaseApplication
$result = parent::doRun($input, $output);
// chdir back to $oldWorkingDir if set
if (isset($oldWorkingDir)) {
chdir($oldWorkingDir);
Silencer::call('chdir', $oldWorkingDir);
}
if (isset($startTime)) {