From 73f0c2105e03a825522644a5aec74483e239e475 Mon Sep 17 00:00:00 2001 From: he3als <65787561+he3als@users.noreply.github.com> Date: Sun, 6 Oct 2024 22:48:06 +0100 Subject: [PATCH] fix(Stop-ThemeProcesses): ignore errors --- .../Executables/AtlasModules/Scripts/Modules/Themes/Themes.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playbook/Executables/AtlasModules/Scripts/Modules/Themes/Themes.psm1 b/src/playbook/Executables/AtlasModules/Scripts/Modules/Themes/Themes.psm1 index 9e11243255..eb6a6f4ccb 100644 --- a/src/playbook/Executables/AtlasModules/Scripts/Modules/Themes/Themes.psm1 +++ b/src/playbook/Executables/AtlasModules/Scripts/Modules/Themes/Themes.psm1 @@ -1,7 +1,7 @@ $windir = [Environment]::GetFolderPath('Windows') function Stop-ThemeProcesses { - Get-Process 'SystemSettings', 'control' -EA 0 | Stop-Process -Force + Get-Process 'SystemSettings', 'control' -EA 0 | Stop-Process -Force -EA 0 } function Set-Theme {