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 -1
View File
@@ -17,7 +17,7 @@ func IsEnabled() bool {
}
func ApplyProfile(pid int, name string) error {
if !IsEnabled() || name == "" {
if name == "" {
return nil
}