aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/commandfuncs.go
diff options
context:
space:
mode:
authorMatthew Holt <[email protected]>2019-12-16 13:46:13 -0700
committerMatthew Holt <[email protected]>2019-12-16 13:46:39 -0700
commit5ab17a3a371c1f84ef5a649d9310971eb7959271 (patch)
treeee2550bee5b9e36c29699d33d4c7a1b6d0725e69 /cmd/commandfuncs.go
parentc3bcd967bd3be85c41ac5f630d496f0dc0d18115 (diff)
downloadcaddy-5ab17a3a371c1f84ef5a649d9310971eb7959271.tar.gz
caddy-5ab17a3a371c1f84ef5a649d9310971eb7959271.zip
admin: /stop endpoint gracefully shuts down; fixes caddy stop command
Diffstat (limited to 'cmd/commandfuncs.go')
-rw-r--r--cmd/commandfuncs.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/commandfuncs.go b/cmd/commandfuncs.go
index 3cba47afa..5079449d9 100644
--- a/cmd/commandfuncs.go
+++ b/cmd/commandfuncs.go
@@ -239,8 +239,6 @@ func cmdStop(fl Flags) (int, error) {
if !found {
return caddy.ExitCodeFailedStartup, fmt.Errorf("Caddy is not running")
}
-
- fmt.Println(" success")
}
return caddy.ExitCodeSuccess, nil