summaryrefslogtreecommitdiff
path: root/cmd/rr
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-05-22 12:03:21 +0300
committerWolfy-J <[email protected]>2019-05-22 12:03:21 +0300
commit7e60e7bb03d81263fe0f3a5f3f5dbd93166d2583 (patch)
tree36cadd5c0422c6cf709cfe229294e0f1722905cc /cmd/rr
parent6ebb3566b1765e518d96ad4993e90ec17e7b6a4e (diff)
fix stop command
Diffstat (limited to 'cmd/rr')
-rw-r--r--cmd/rr/cmd/stop.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rr/cmd/stop.go b/cmd/rr/cmd/stop.go
index 5c6ed2a5..8beee73e 100644
--- a/cmd/rr/cmd/stop.go
+++ b/cmd/rr/cmd/stop.go
@@ -43,7 +43,7 @@ func stopHandler(cmd *cobra.Command, args []string) error {
util.Printf("<green>Stopping RoadRunner</reset>: ")
var r string
- if err := client.Call("system.Detach", true, &r); err != nil {
+ if err := client.Call("system.Stop", true, &r); err != nil {
return err
}