From c487b702a22c1a28bc0380b3e45a314d586ce0ef Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Tue, 27 Oct 2015 00:05:22 -0600 Subject: [PATCH] Little cleanup --- caddy/caddy.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/caddy/caddy.go b/caddy/caddy.go index 9383e386..f6976ea0 100644 --- a/caddy/caddy.go +++ b/caddy/caddy.go @@ -149,9 +149,9 @@ func Start(cdyfile Input) error { // Tell parent process that we got this if isRestart() { - file := os.NewFile(3, "") - file.Write([]byte("success")) - file.Close() + ppipe := os.NewFile(3, "") // parent is listening on pipe at index 3 + ppipe.Write([]byte("success")) + ppipe.Close() } return nil