Skip to content

Commit

Permalink
chore: Remove unnecessary command from SshMultiplexingHelper
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Oct 2, 2024
1 parent 6f25b54 commit 0ab432d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/Helpers/SshMultiplexingHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ public static function generateSshCommand(Server $server, string $command)

$ssh_command .= self::getCommonSshOptions($server, $sshKeyLocation, config('constants.ssh.connection_timeout'), config('constants.ssh.server_interval'));

$command = "PATH=\$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/host/usr/local/sbin:/host/usr/local/bin:/host/usr/sbin:/host/usr/bin:/host/sbin:/host/bin && $command";
$delimiter = Hash::make($command);
$command = str_replace($delimiter, '', $command);

Expand Down

0 comments on commit 0ab432d

Please sign in to comment.