From 2347cc9dc3865c6feb52f812e630e1752ba808c1 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Tue, 26 Apr 2016 11:14:18 -0700 Subject: [PATCH] Pass runtime args to runtime delete call from shim Signed-off-by: Darren Shepherd --- containerd-shim/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containerd-shim/process.go b/containerd-shim/process.go index 1d37d38..f2a5da2 100644 --- a/containerd-shim/process.go +++ b/containerd-shim/process.go @@ -205,7 +205,7 @@ func (p *process) pid() int { func (p *process) delete() error { if !p.state.Exec { - out, err := exec.Command(p.runtime, "delete", p.id).CombinedOutput() + out, err := exec.Command(p.runtime, append(p.state.RuntimeArgs, "delete", p.id)...).CombinedOutput() if err != nil { return fmt.Errorf("%s: %v", out, err) }