Merge pull request #9651 from bbeckford/master
Suppress error when chdir($oldWorkingDir); unsuccessfulpull/9658/head
commit
e5e9c2cd59
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue