We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47b5cea commit 53672d0Copy full SHA for 53672d0
src/install.ps1
@@ -16,7 +16,7 @@ Write-Host "--- Patroni packages installed ---`n" -ForegroundColor green
16
17
$userName = "pes"
18
$out = Get-LocalUser -Name $userName -ErrorAction SilentlyContinue
19
-if($out -eq $null)
+if($null -eq $out)
20
{
21
Write-Host "--- Adding local user '$userName' for patroni service ---" -ForegroundColor blue
22
$Password = -join ((65..90) + (97..122) | Get-Random -Count 8 | % {[char]$_})
0 commit comments