From 4ee3dee975002702a5aba20bb4d34cdc8afa9718 Mon Sep 17 00:00:00 2001 From: dyoder Date: Thu, 3 Dec 2020 17:50:22 -0500 Subject: [PATCH] i misspelled my own function name... --- Install-Wireguard.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Install-Wireguard.ps1 b/Install-Wireguard.ps1 index 761305d..4a4d258 100644 --- a/Install-Wireguard.ps1 +++ b/Install-Wireguard.ps1 @@ -6,9 +6,9 @@ If ( IsAdmin ) ## Install package $Installer = Download-File -URL $URL If ( Test-Path $Installer ) { - End-Program -Name "wireguard" -Match -Force + End-Process -Name "wireguard" -Match -Force Install-Program -Path "${Installer}" -Delete - End-Program -Name "wireguard" -Match -Force + End-Process -Name "wireguard" -Match -Force } Else { LogMsg "The Wireguard installer was not downloaded properly" } }