build: support for unconfined flag.
This commit is contained in:
parent
9b7c1acb1b
commit
bfcf9f846c
1 changed files with 3 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ func (b Complain) Apply(opt *Option, profile string) (string, error) {
|
||||||
if slices.Contains(flags, "complain") {
|
if slices.Contains(flags, "complain") {
|
||||||
return profile, nil
|
return profile, nil
|
||||||
}
|
}
|
||||||
|
if slices.Contains(flags, "unconfined") {
|
||||||
|
return profile, nil
|
||||||
|
}
|
||||||
}
|
}
|
||||||
flags = append(flags, "complain")
|
flags = append(flags, "complain")
|
||||||
strFlags := " flags=(" + strings.Join(flags, ",") + ") {\n"
|
strFlags := " flags=(" + strings.Join(flags, ",") + ") {\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue