From 0a24b100e34516393fdd5f8affdb9cd204f920b1 Mon Sep 17 00:00:00 2001 From: Krasi Georgiev Date: Thu, 4 May 2017 12:26:30 +0300 Subject: [PATCH] ctr couldn't exit when the grpc containerd server is not running Signed-off-by: Krasi Georgiev --- cmd/ctr/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ctr/utils.go b/cmd/ctr/utils.go index e244c1199..2254003d2 100644 --- a/cmd/ctr/utils.go +++ b/cmd/ctr/utils.go @@ -100,7 +100,7 @@ func forwardAllSignals(containers execution.ContainerServiceClient, id string) c } _, err := containers.Kill(gocontext.Background(), killRequest) if err != nil { - logrus.WithError(err).Error("grpc event from kill") + logrus.Fatalln(err) } } }()