Check for apparmor enabled on host to populate profile
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
parent
2538689b31
commit
4b3bfc742b
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ func IsEnabled() bool {
|
|||
}
|
||||
|
||||
func ApplyProfile(pid int, name string) error {
|
||||
if !IsEnabled() || name == "" {
|
||||
if name == "" {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue