Skip to content

Commit d22930c

Browse files
author
epriestley
committedAug 14, 2015
Fix variable name in ssh-exec.php
Summary: Fixes T9176. This was renamed in D13589 but a use site was missed. Test Plan: Before: ``` epriestley@orbital ~/dev/phabricator $ SSH_ORIGINAL_COMMAND=conduit sudo -E ./bin/ssh-exec --phabricator-ssh-user admin phabricator-ssh-exec: Invalid command. ``` After: ``` epriestley@orbital ~/dev/phabricator $ SSH_ORIGINAL_COMMAND=conduit sudo -E ./bin/ssh-exec --phabricator-ssh-user admin phabricator-ssh-exec: No Conduit method provided. ``` Reviewers: chad, joshuaspence Reviewed By: chad, joshuaspence Maniphest Tasks: T9176 Differential Revision: https://secure.phabricator.com/D13893
1 parent 368f359 commit d22930c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/ssh/ssh-exec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230

231231
$parsed_args = new PhutilArgumentParser($parseable_argv);
232232

233-
if (empty($workflow_names[$command])) {
233+
if (empty($workflows[$command])) {
234234
throw new Exception(pht('Invalid command.'));
235235
}
236236

0 commit comments

Comments
 (0)
Failed to load comments.