Update src/samy.functions.ps1

This commit is contained in:
2026-01-26 12:10:55 -05:00
parent da785b8cdf
commit 7b85c33253

View File

@@ -171,7 +171,7 @@ function Restart-ExplorerIfInteractive {
[CmdletBinding()] [CmdletBinding()]
param() param()
# Dont 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') $isSystem = ($env:USERNAME -eq 'SYSTEM')
if (-not $isSystem) { if (-not $isSystem) {