From 2e4e484237cf98ce0c5250b41a6f4ff4fc7a7bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kenfe-Micka=C3=ABl=20Laventure?= Date: Tue, 28 Jun 2016 11:52:52 -0700 Subject: [PATCH] Stop creating `/tmp/shim-delete-` as noone uses it (#278) Signed-off-by: Kenfe-Mickael Laventure --- containerd-shim/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/containerd-shim/main.go b/containerd-shim/main.go index cea7b5e..2794a34 100644 --- a/containerd-shim/main.go +++ b/containerd-shim/main.go @@ -3,7 +3,6 @@ package main import ( "flag" "fmt" - "io/ioutil" "os" "os/signal" "path/filepath" @@ -115,7 +114,6 @@ func start(log *os.File) error { } // runtime has exited so the shim can also exit if exitShim { - ioutil.WriteFile(fmt.Sprintf("/tmp/shim-delete-%d", p.pid()), []byte("deleting"), 0600) p.delete() p.Wait() return nil