Skip to content

Commit

Permalink
CLI-1058: Fix remote:ssh (#1505)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored May 19, 2023
1 parent d014791 commit 903607e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Command/Remote/SshCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected function execute(InputInterface $input, OutputInterface $output): ?int
];
$arguments = $input->getArguments();
if (empty($arguments['ssh_command'])) {
$sshCommand[] = 'exec $sHELL -l';
$sshCommand[] = 'exec $SHELL -l';
}
else {
$sshCommand[] = implode(' ', $arguments['ssh_command']);
Expand Down
2 changes: 1 addition & 1 deletion tests/phpunit/src/Commands/Remote/SshCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function testRemoteAliasesDownloadCommand(): void {
'-o StrictHostKeyChecking=no',
'-o AddressFamily inet',
'-o LogLevel=ERROR',
'cd /var/www/html/devcloud2.dev; exec $sHELL -l',
'cd /var/www/html/devcloud2.dev; exec $SHELL -l',
];
$localMachineHelper
->execute($sshCommand, Argument::type('callable'), NULL, TRUE, NULL)
Expand Down

0 comments on commit 903607e

Please sign in to comment.