delete single quotes for configurate vuln detection

This commit is contained in:
vcerenu
2023-12-20 04:28:33 -03:00
parent 09aeb68b14
commit 2258605ec2
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ function_entrypoint_scripts() {
function_configure_vulnerability_detection() {
if [ "$INDEXER_PASSWORD" != "" ]; then
>&2 echo "Configuring password."
sed -i "s|<password>VDPass</password>|<password>'$INDEXER_PASSWORD'</password>|g" /var/ossec/etc/ossec.conf
sed -i "s|<password>VDPass</password>|<password>$INDEXER_PASSWORD</password>|g" /var/ossec/etc/ossec.conf
fi
}