Page MenuHomePhabricator

D21703.diff
No OneTemporary

D21703.diff

diff --git a/scripts/ssh/ssh-connect.php b/scripts/ssh/ssh-connect.php
--- a/scripts/ssh/ssh-connect.php
+++ b/scripts/ssh/ssh-connect.php
@@ -154,6 +154,6 @@
array_unshift($arguments, $pattern);
$err = newv('PhutilExecPassthru', $arguments)
- ->execute();
+ ->resolve();
exit($err);
diff --git a/src/applications/repository/storage/PhabricatorRepository.php b/src/applications/repository/storage/PhabricatorRepository.php
--- a/src/applications/repository/storage/PhabricatorRepository.php
+++ b/src/applications/repository/storage/PhabricatorRepository.php
@@ -499,7 +499,7 @@
public function passthruRemoteCommand($pattern /* , $arg, ... */) {
$args = func_get_args();
- return $this->newRemoteCommandPassthru($args)->execute();
+ return $this->newRemoteCommandPassthru($args)->resolve();
}
private function newRemoteCommandFuture(array $argv) {
@@ -540,7 +540,7 @@
public function passthruLocalCommand($pattern /* , $arg, ... */) {
$args = func_get_args();
- return $this->newLocalCommandPassthru($args)->execute();
+ return $this->newLocalCommandPassthru($args)->resolve();
}
private function newLocalCommandFuture(array $argv) {

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 31, 6:58 AM (1 w, 9 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7625026
Default Alt Text
D21703.diff (1 KB)

Event Timeline