Commit c3d94102 authored by Manuel Buil's avatar Manuel Buil

Fix error reporting

Signed-off-by: 's avatarManuel Buil <mbuil@suse.com>
parent 3624e6c4
...@@ -93,7 +93,7 @@ func Run(ctx context.Context, cfg *config.Node) error { ...@@ -93,7 +93,7 @@ func Run(ctx context.Context, cfg *config.Node) error {
addDeathSig(cmd) addDeathSig(cmd)
if err := cmd.Run(); err != nil { if err := cmd.Run(); err != nil {
fmt.Fprintf(os.Stderr, "containerd: %s\n", err) logrus.Errorf("containerd exited: %s", err)
} }
os.Exit(1) os.Exit(1)
}() }()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment