Fixes and tweaks on command execution.

This commit is contained in:
Andrs Montaez
2012-02-12 15:40:56 -02:00
parent 5359a7afbd
commit 949750fc1e
4 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ abstract class Mage_Task_TaskAbstract
$releasesDirectory = '';
}
$localCommand = 'ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no '
$localCommand = 'ssh -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no '
. $this->_config->deployment('user') . '@' . $this->_config->getHost() . ' '
. '"cd ' . rtrim($this->_config->deployment('to'), '/') . $releasesDirectory . ' && '
. $command . '"';