Update src/samy.functions.ps1
This commit is contained in:
@@ -171,7 +171,7 @@ function Restart-ExplorerIfInteractive {
|
||||
[CmdletBinding()]
|
||||
param()
|
||||
|
||||
# Don’t kill Explorer during SYSTEM/unboxing contexts where it may not exist or may be harmful
|
||||
# Don't kill Explorer during SYSTEM/unboxing contexts where it may not exist or may be harmful
|
||||
$isSystem = ($env:USERNAME -eq 'SYSTEM')
|
||||
|
||||
if (-not $isSystem) {
|
||||
|
||||
Reference in New Issue
Block a user