Skip to content

Commit

Permalink
Update Registry_Monitor.vbs
Browse files Browse the repository at this point in the history
  • Loading branch information
zelon88 committed Sep 19, 2019
1 parent 389ff52 commit a0139be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Registry_Monitor.vbs
Expand Up @@ -333,7 +333,7 @@ End Function
parseArgs()

'If "force" variable is set to TRUE; bypass the elevated priviledge check.
If force Then
If Not force Then
'Ensure the script has elevated priviledges.
If Not isUserAdmin() Then
'Restart with elevated priviledges if needed.
Expand All @@ -359,4 +359,4 @@ If CreateReqdDirs() Then
VerifyCache()
End If
End If
' --------------------------------------------------
' --------------------------------------------------

0 comments on commit a0139be

Please sign in to comment.