mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-09 20:38:49 +03:00
Little cleanup
This commit is contained in:
parent
bb6613d0ae
commit
c487b702a2
1 changed files with 3 additions and 3 deletions
|
@ -149,9 +149,9 @@ func Start(cdyfile Input) error {
|
||||||
|
|
||||||
// Tell parent process that we got this
|
// Tell parent process that we got this
|
||||||
if isRestart() {
|
if isRestart() {
|
||||||
file := os.NewFile(3, "")
|
ppipe := os.NewFile(3, "") // parent is listening on pipe at index 3
|
||||||
file.Write([]byte("success"))
|
ppipe.Write([]byte("success"))
|
||||||
file.Close()
|
ppipe.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in a new issue