summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-11-03 23:31:47 +0000
committergVisor bot <gvisor-bot@google.com>2020-11-03 23:31:47 +0000
commitf6a54ee4845a380062b945373ec597afffb27282 (patch)
treeb17420d083e6495b542daa49b1f854c7c907dc40 /runsc/cmd
parent25da68ce0722f5dc2c714a62bc047db4d40efd94 (diff)
parent1cfa8d58f6ffd7202fe445c2986f0366022d46f9 (diff)
Merge release-20201027.0-63-g1cfa8d58f (automated)
Diffstat (limited to 'runsc/cmd')
-rw-r--r--runsc/cmd/checkpoint.go3
1 files changed, 3 insertions, 0 deletions
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