forked from wazuh/wazuh-docker
Merge pull request #1568 from wazuh/merge-4.9.1-into-4.10.0
Merge 4.9.1 into 4.10.0
This commit is contained in:
@@ -93,7 +93,6 @@ EOF
|
|||||||
if /var/ossec/framework/python/bin/python3 /var/ossec/framework/scripts/create_user.py; then
|
if /var/ossec/framework/python/bin/python3 /var/ossec/framework/scripts/create_user.py; then
|
||||||
# remove json if exit code is 0
|
# remove json if exit code is 0
|
||||||
rm /var/ossec/api/configuration/admin.json
|
rm /var/ossec/api/configuration/admin.json
|
||||||
rm /var/ossec/framework/scripts/create_user.py
|
|
||||||
else
|
else
|
||||||
echored "There was an error configuring the API user"
|
echored "There was an error configuring the API user"
|
||||||
# terminate container to avoid unpredictable behavior
|
# terminate container to avoid unpredictable behavior
|
||||||
|
|||||||
Reference in New Issue
Block a user