From a6af28dd6a7131bb50ef411a51664c3aaf0fb91a Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 6 Aug 2023 22:36:04 +0200 Subject: [PATCH] Fix invalid syntax --- scripts/Windows/Software/PuTTY/Manage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Software/PuTTY/Manage.ps1 b/scripts/Windows/Software/PuTTY/Manage.ps1 index bf3010d4..0f42441e 100644 --- a/scripts/Windows/Software/PuTTY/Manage.ps1 +++ b/scripts/Windows/Software/PuTTY/Manage.ps1 @@ -23,7 +23,7 @@ $null = New-Module { $tempDir = $context.GetTempDirectory(); $fileName = Join-Path "$tempDir" $configFile; $context.Restore($context.SoftwareArchive($softwareName), $tempDir); - & reg import "$fileName" /y; + & reg import "$fileName"; Remove-Item -Recurse $tempDir; } }