fix typos

This commit is contained in:
2026-06-25 21:35:07 -04:00
parent bee4ed305e
commit 14574ae992
4 changed files with 13 additions and 12 deletions

View File

@@ -16,13 +16,13 @@ func Status(cmd *cobra.Command, args []string) {
name := getServerName(dir)
start_cmd := exec.Command("docker", "exec", name, "rcon-cli", "list")
status_cmd := exec.Command("docker", "exec", name, "rcon-cli", "list")
var outb, errb bytes.Buffer
start_cmd.Stdout = &outb
start_cmd.Stderr = &errb
status_cmd.Stdout = &outb
status_cmd.Stderr = &errb
if err := start_cmd.Run(); err != nil {
if err := status_cmd.Run(); err != nil {
fmt.Println("offline")
return
}