feat(aa): support multiple comments.

This commit is contained in:
Alexandre Pujol 2023-09-30 13:22:46 +01:00
parent 1da0073120
commit e93c1bf4d8
Failed to generate hash of commit

View file

@ -1,8 +1,11 @@
{{- define "comment" -}} {{- define "comment" -}}
{{- if or .FileInherit .NoNewPrivs -}}
{{- " #" -}}
{{- end -}}
{{- if .FileInherit -}} {{- if .FileInherit -}}
{{- " # file_inherit" -}} {{- " file_inherit" -}}
{{- end -}} {{- end -}}
{{- if .NoNewPrivs -}} {{- if .NoNewPrivs -}}
{{- " # no new privs" -}} {{- " no new privs" -}}
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}