mirror of
https://github.com/wazuh/wazuh-docker.git
synced 2025-10-23 04:51:57 +00:00
Merge pull request #1526 from wazuh/enhancement/1520-revert-create_user.py-script-deletion
Revert create_user.py script deletion
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
|
||||
# remove json if exit code is 0
|
||||
rm /var/ossec/api/configuration/admin.json
|
||||
rm /var/ossec/framework/scripts/create_user.py
|
||||
else
|
||||
echored "There was an error configuring the API user"
|
||||
# terminate container to avoid unpredictable behavior
|
||||
|
Reference in New Issue
Block a user