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:
Michael Crosby 2014-04-09 10:22:17 +00:00
parent ea96c1f436
commit ca4ab79a9d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ func IsEnabled() bool {
} }
func ApplyProfile(pid int, name string) error { func ApplyProfile(pid int, name string) error {
if !IsEnabled() || name == "" { if name == "" {
return nil return nil
} }