From 1dd7700fc20597d5e4cfe61fbef62781b187b91a Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 11 Feb 2013 22:52:06 +0100 Subject: [PATCH] Capture output of the rm command --- src/Composer/Util/Filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();