Little cleanup

This commit is contained in:
Matthew Holt 2015-10-27 00:05:22 -06:00
parent bb6613d0ae
commit c487b702a2

View File

@ -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