Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
gtrevi committed Mar 12, 2024
1 parent d1ecbeb commit 218e948
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/install_ebpf.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,11 @@ function Install-eBPFComponents
# Install the Visual C++ Redistributable.
try {
Write-Host "Installing Visual C++ Redistributable from '$VcRedistPath'..."
if (-not (Test-Path $VcRedistPath)) {
Write-Host "Visual C++ Redistributable not found at '$VcRedistPath'."
exit 1;
}
$process = Start-Process -FilePath $VcRedistPath -ArgumentList "/quiet", "/norestart" -Wait
Write-Host "Exit Code: $LASTEXITCODE"
if ($process.ExitCode -ne 0) {
Write-Host "Visual C++ Redistributable installation failed. Exit code: $($process.ExitCode)"
exit 1;
Expand Down

0 comments on commit 218e948

Please sign in to comment.