diff --git a/daemon/seccomp_linux.go b/daemon/seccomp_linux.go index 27461775d4..4559bc29e2 100644 --- a/daemon/seccomp_linux.go +++ b/daemon/seccomp_linux.go @@ -28,9 +28,9 @@ func WithSeccomp(daemon *Daemon, c *container.Container) coci.SpecOpts { if !daemon.seccompEnabled { if c.SeccompProfile != "" && c.SeccompProfile != "unconfined" { - return fmt.Errorf("Seccomp is not enabled in your kernel, cannot run a custom seccomp profile.") + return fmt.Errorf("seccomp is not enabled in your kernel, cannot run a custom seccomp profile") } - logrus.Warn("Seccomp is not enabled in your kernel, running container without default profile.") + logrus.Warn("seccomp is not enabled in your kernel, running container without default profile") c.SeccompProfile = "unconfined" } if c.SeccompProfile == "unconfined" {