Commit c487b702 authored by Matthew Holt's avatar Matthew Holt

Little cleanup

parent bb6613d0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment