mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Use double quotes around agent key to ensure interpolation
This commit is contained in:
@@ -73,7 +73,7 @@ register_agent() {
|
|||||||
# Importing key
|
# Importing key
|
||||||
echo ""
|
echo ""
|
||||||
echo "Importing authentication key:"
|
echo "Importing authentication key:"
|
||||||
echo "y" | /var/ossec/bin/manage_agents -i '$AGENT_KEY'
|
echo "y" | /var/ossec/bin/manage_agents -i "$AGENT_KEY"
|
||||||
|
|
||||||
# Restarting agent
|
# Restarting agent
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
Reference in New Issue
Block a user