Skip to content

Commit 102504d

Browse files
committed
Fix variable substitution
This fixes variable substitution code in Bash remediations.
1 parent e8c5bad commit 102504d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssg/build_remediations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ def expand_xccdf_subs(fix, remediation_type):
678678
elif remediation_type == "bootc":
679679
pattern = r'\(bootc-populate\s*(\S+)\)'
680680
elif remediation_type == "hummingbird":
681-
pattern = r'\(hummingbird-populate\s*(\S+)\)'
681+
pattern = r'\(bash-populate\s*(\S+)\)'
682682
else:
683683
sys.stderr.write("Unknown remediation type '%s'\n" % (remediation_type))
684684
sys.exit(1)

0 commit comments

Comments
 (0)