diff --git a/Mage/Command/BuiltIn/DeployCommand.php b/Mage/Command/BuiltIn/DeployCommand.php index bf5d02f..ba7be08 100644 --- a/Mage/Command/BuiltIn/DeployCommand.php +++ b/Mage/Command/BuiltIn/DeployCommand.php @@ -215,7 +215,7 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment Console::output('Total time: ' . $timeText . '.', 1, 2); // Send Notifications - $this->sendNotification(self::$failedTasks > 0 ? false : true); + $this->sendNotification(self::$deployStatus === self::SUCCEDED); // Unlock if (file_exists(getcwd() . '/.mage/~working.lock')) {