Skip to content

Commit 80e86cd

Browse files
authored
[*] add warning for existing pes user during installation, fixes #87 (#88)
1 parent 44ad2ff commit 80e86cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/install.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ if($null -eq $out)
4444
}
4545
else
4646
{
47-
Write-Host "--- Patroni user '$userName' already exists ---`n" -ForegroundColor green
47+
Write-Host "--- WARNING: Patroni user '$userName' already exists! ---" -ForegroundColor red
48+
Write-Host "--- Please, set a correct password in 'patroni\patroni_service.xml'! ---`n" -ForegroundColor red
4849
}
4950

5051
Write-Host "--- Installing Etcd service ---" -ForegroundColor blue

0 commit comments

Comments
 (0)