From dfde28cf65b96e9a7bd931bfd8ce7ed92c0c021a Mon Sep 17 00:00:00 2001 From: Axel Schoppe Date: Tue, 18 Feb 2025 13:30:59 +0100 Subject: [PATCH] Fix powershell invalid operation is NULL --- content/self-host/client-deployment/_index.de.md | 1 + content/self-host/client-deployment/_index.en.md | 1 + content/self-host/client-deployment/_index.pt.md | 1 + content/self-host/client-deployment/_index.tr.md | 1 + 4 files changed, 4 insertions(+) diff --git a/content/self-host/client-deployment/_index.de.md b/content/self-host/client-deployment/_index.de.md index f0a620f3..ed521902 100644 --- a/content/self-host/client-deployment/_index.de.md +++ b/content/self-host/client-deployment/_index.de.md @@ -105,6 +105,7 @@ if ($arrService -eq $null) cd $env:ProgramFiles\RustDesk Start-Process .\rustdesk.exe --install-service Start-Sleep -seconds 20 + $arrService = Get-Service -Name $ServiceName } while ($arrService.Status -ne 'Running') diff --git a/content/self-host/client-deployment/_index.en.md b/content/self-host/client-deployment/_index.en.md index 293da9bd..28e6a5e9 100644 --- a/content/self-host/client-deployment/_index.en.md +++ b/content/self-host/client-deployment/_index.en.md @@ -107,6 +107,7 @@ if ($arrService -eq $null) cd $env:ProgramFiles\RustDesk Start-Process .\rustdesk.exe --install-service Start-Sleep -seconds 20 + $arrService = Get-Service -Name $ServiceName } while ($arrService.Status -ne 'Running') diff --git a/content/self-host/client-deployment/_index.pt.md b/content/self-host/client-deployment/_index.pt.md index 83129b9b..d3e62639 100644 --- a/content/self-host/client-deployment/_index.pt.md +++ b/content/self-host/client-deployment/_index.pt.md @@ -107,6 +107,7 @@ if ($arrService -eq $null) cd $env:ProgramFiles\RustDesk Start-Process .\rustdesk.exe --install-service Start-Sleep -seconds 20 + $arrService = Get-Service -Name $ServiceName } while ($arrService.Status -ne 'Running') diff --git a/content/self-host/client-deployment/_index.tr.md b/content/self-host/client-deployment/_index.tr.md index 6ebe613e..e83a87ac 100644 --- a/content/self-host/client-deployment/_index.tr.md +++ b/content/self-host/client-deployment/_index.tr.md @@ -104,6 +104,7 @@ if ($arrService -eq $null) cd $env:ProgramFiles\RustDesk Start-Process .\rustdesk.exe --install-service Start-Sleep -seconds 20 + $arrService = Get-Service -Name $ServiceName } while ($arrService.Status -ne 'Running')