diff --git a/pkg/agent/containerd/containerd.go b/pkg/agent/containerd/containerd.go index 6663af7df4..c18b335ae1 100644 --- a/pkg/agent/containerd/containerd.go +++ b/pkg/agent/containerd/containerd.go @@ -93,7 +93,7 @@ func Run(ctx context.Context, cfg *config.Node) error { addDeathSig(cmd) if err := cmd.Run(); err != nil { - fmt.Fprintf(os.Stderr, "containerd: %s\n", err) + logrus.Errorf("containerd exited: %s", err) } os.Exit(1) }()