Skip to content

Commit

Permalink
Merge pull request #20 from SoarinFerret/master
Browse files Browse the repository at this point in the history
Fix Linux Connection issues without `sudo` permissions
  • Loading branch information
franklupo authored Sep 9, 2024
2 parents cd1e1a7 + 689aa07 commit c39deeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Corsinvest.ProxmoxVE.Api/Corsinvest.ProxmoxVE.Api.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ PveTicket. Return ticket connection.

if ($data.Length -eq 2 ) { [int32]::TryParse($data[1] , [ref]$portTmp) | Out-Null }

if (Test-Connection -Ping $hostTmp -BufferSize 16 -Count 1 -ea 0 -quiet) {
if (Test-Connection -Ping $hostTmp -Count 1 -ea 0 -quiet) {
$hostName = $hostTmp;
$port = $portTmp;
break;
Expand Down

0 comments on commit c39deeb

Please sign in to comment.