From 8cf7ce911d1ce5b84636fd22dd93556f9290f9d3 Mon Sep 17 00:00:00 2001 From: "Robert C. Maehl" Date: Wed, 15 Dec 2021 17:31:50 -0500 Subject: [PATCH] Fix ProcessClose --- MSEdgeRedirect.au3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MSEdgeRedirect.au3 b/MSEdgeRedirect.au3 index df14bd7..0e884bb 100644 --- a/MSEdgeRedirect.au3 +++ b/MSEdgeRedirect.au3 @@ -383,7 +383,7 @@ Func RunRemoval($bUpdate = False) $aPIDs = ProcessList("msedgeredirect.exe") For $iLoop = 1 To $aPIDs[0][0] Step 1 - If Not $aPIDs[$iLoop][1] = @AutoItPID Then ProcessClose($aPIDs[$iLoop][0]) + If Not $aPIDs[$iLoop][1] = @AutoItPID Then ProcessClose($aPIDs[$iLoop][1]) Next If IsAdmin() Then