mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-31 01:52:59 +01:00
Fixed internal variable on Windows containers
This commit is contained in:
parent
a1bcd2aece
commit
9f8aef76a8
@ -62,7 +62,7 @@ function Update-Config-Var {
|
||||
}
|
||||
|
||||
if ($VarName -match '^TLS.*File$') {
|
||||
$VarValue="$ZabbixUserHomeDir\enc\$VarValue"
|
||||
$VarValue="$env:ZABBIX_USER_HOME_DIR\enc\$VarValue"
|
||||
}
|
||||
|
||||
if ((Get-Content $ConfigPath | %{$_ -match "^$VarName="}) -contains $true -And $IsMultiple -ne $true) {
|
||||
|
@ -62,7 +62,7 @@ function Update-Config-Var {
|
||||
}
|
||||
|
||||
if ($VarName -match '^TLS.*File$') {
|
||||
$VarValue="$ZabbixUserHomeDir\enc\$VarValue"
|
||||
$VarValue="$env:ZABBIX_USER_HOME_DIR\enc\$VarValue"
|
||||
}
|
||||
|
||||
if ((Get-Content $ConfigPath | %{$_ -match "^$VarName="}) -contains $true -And $IsMultiple -ne $true) {
|
||||
|
Loading…
Reference in New Issue
Block a user