Merge pull request #1591 from Security-Onion-Solutions/issue/1590

fix arg for so-firewall addhostgroup
This commit is contained in:
Josh Patterson authored and GitHub committed 2020-10-21 15:48:02 -04:00
commit b93709e05f
1 file changed
+1 -1
+1 -1
View File
@@ -116,7 +116,7 @@ def addhostgroup(args):
print('Missing host group name argument', file=sys.stderr)
showUsage(args)
name = args[1]
name = args[0]
content = loadYaml(hostgroupsFilename)
if name in content['firewall']['hostgroups']:
print('Already exists', file=sys.stderr)