mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
change from error to warning
This commit is contained in:
@@ -89,7 +89,7 @@ def addIp(name, ip):
|
||||
writeYaml(hostgroupsFilename, content)
|
||||
logger.info(f"Successfully added IP {ip} to hostgroup {name}")
|
||||
else:
|
||||
logger.error(f"IP {ip} already exists in hostgroup {name}")
|
||||
logger.warning(f"IP {ip} already exists in hostgroup {name}")
|
||||
return 3
|
||||
return 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user