From 128e2aa0c49af4d71ee48824926245d5d06b7944 Mon Sep 17 00:00:00 2001 From: yo Date: Sun, 10 Jul 2022 20:48:40 +0200 Subject: [PATCH] Cosmetic --- cmd/stop.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/stop.go b/cmd/stop.go index 2fd1985..fb1429e 100644 --- a/cmd/stop.go +++ b/cmd/stop.go @@ -219,12 +219,12 @@ func StopJail(args []string) { } if len(cj.Config.Exec_prestop) > 0 { - fmt.Printf(" > Execute prestop:\n") + fmt.Printf(" > Execute pre-stop:\n") _, err := executeCommand(cj.Config.Exec_prestop) if err != nil { fmt.Printf("ERROR: %s\n", err.Error()) } else { - fmt.Printf(" > Execute prestop: OK\n") + fmt.Printf(" > Execute pre-stop: OK\n") } } @@ -345,12 +345,12 @@ func StopJail(args []string) { // TODO: Execute poststop if len(cj.Config.Exec_poststop) > 0 { - fmt.Printf(" > Execute poststop:\n") + fmt.Printf(" > Execute post-stop:\n") _, err := executeCommand(cj.Config.Exec_poststop) if err != nil { fmt.Printf("ERROR: %s\n", err.Error()) } else { - fmt.Printf(" > Execute poststop: OK\n") + fmt.Printf(" > Execute post-stop: OK\n") } }