[command] Fixed error detection for insert-sql

This commit is contained in:
William DURAND 2011-09-03 14:53:56 +02:00
parent 2f4f2cb5f2
commit 85849bfe33

View file

@ -119,6 +119,7 @@ abstract class PhingCommand extends ContainerAwareCommand
// Guess errors
if (strstr($this->buffer, 'failed. Aborting.') ||
strstr($this->buffer, 'Failed to execute') ||
strstr($this->buffer, 'failed for the following reason:')) {
$returnStatus = false;
}