From e64050e91d6d2ca37b79fad1055701a6d810322e Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 18 Jun 2013 14:29:53 +0200 Subject: [PATCH] Fix output of diag command --- src/Composer/Command/DiagnoseCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/DiagnoseCommand.php b/src/Composer/Command/DiagnoseCommand.php index b79350fcc..8c39a61bd 100644 --- a/src/Composer/Command/DiagnoseCommand.php +++ b/src/Composer/Command/DiagnoseCommand.php @@ -222,7 +222,7 @@ EOT if ((($df = disk_free_space($dir = $config->get('home'))) !== false && $df < $minSpaceFree) || (($df = disk_free_space($dir = $config->get('vendor-dir'))) !== false && $df < $minSpaceFree) ) { - return 'The disk hosting '.$dir.' is full, this may be the cause of the following exception'; + return 'The disk hosting '.$dir.' is full'; } return true;