From 1cfa8d58f6ffd7202fe445c2986f0366022d46f9 Mon Sep 17 00:00:00 2001 From: Ting-Yu Wang Date: Tue, 3 Nov 2020 15:21:38 -0800 Subject: Fix more nogo tests PiperOrigin-RevId: 340536306 --- runsc/cmd/checkpoint.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runsc/cmd/checkpoint.go') diff --git a/runsc/cmd/checkpoint.go b/runsc/cmd/checkpoint.go index 8fe0c427a..d4e0da2ab 100644 --- a/runsc/cmd/checkpoint.go +++ b/runsc/cmd/checkpoint.go @@ -149,6 +149,9 @@ func (c *Checkpoint) Execute(_ context.Context, f *flag.FlagSet, args ...interfa } ws, err := cont.Wait() + if err != nil { + Fatalf("Error waiting for container: %v", err) + } *waitStatus = ws return subcommands.ExitSuccess -- cgit v1.2.3