Remove check for cookie

This commit is contained in:
weslambert
2024-09-13 13:24:55 -04:00
committed by GitHub
parent 9bd7909983
commit da47d247c9

View File

@@ -12,11 +12,6 @@ if [ $? -ne 0 ]; then
exit 1
fi
SESSIONCOOKIE=$(echo "$curl_output" | grep sid | awk '{print $7}')
if [ -z "$SESSIONCOOKIE" ]; then
echo "Warning: Session cookie is empty."
fi
IFS=$'\n'
agent_policies=$(elastic_fleet_agent_policy_names)
if [ $? -ne 0 ]; then