mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-06 13:13:50 -05:00
Remove All Trailing Whitespace Characters in '.ps1' Files
This commit is contained in:
@ -50,7 +50,7 @@ function Invoke-WinUtilTweaks {
|
||||
Write-Debug "KeepServiceStartup is $KeepServiceStartup"
|
||||
$sync.configs.tweaks.$CheckBox.service | ForEach-Object {
|
||||
$changeservice = $true
|
||||
|
||||
|
||||
# The check for !($undo) is required, without it the script will throw an error for accessing unavailable memeber, which's the 'OriginalService' Property
|
||||
if($KeepServiceStartup -AND !($undo)) {
|
||||
try {
|
||||
|
Reference in New Issue
Block a user