diff --git a/src/Composer/Util/Filesystem.php b/src/Composer/Util/Filesystem.php index 590bd6c9c..e14d6af88 100644 --- a/src/Composer/Util/Filesystem.php +++ b/src/Composer/Util/Filesystem.php @@ -66,7 +66,7 @@ class Filesystem $cmd = sprintf('rm -rf %s', escapeshellarg($directory)); } - $result = $this->getProcess()->execute($cmd) === 0; + $result = $this->getProcess()->execute($cmd, $output) === 0; // clear stat cache because external processes aren't tracked by the php stat cache clearstatcache();