Skip to content

Commit

Permalink
Fix error reporting
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Buil <mbuil@suse.com>
  • Loading branch information
manuelbuil committed Sep 22, 2023
1 parent 4e21728 commit 23c9208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/agent/containerd/containerd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}()
Expand Down

0 comments on commit 23c9208

Please sign in to comment.