From c5804b6070f6e9ec68c56aa85c471a4ccc0f1bb8 Mon Sep 17 00:00:00 2001 From: gekigek99 <53654579+gekigek99@users.noreply.github.com> Date: Wed, 14 Oct 2020 20:41:59 +0200 Subject: [PATCH] typo correction --- go-version/minecraft-server-hibernation.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/go-version/minecraft-server-hibernation.go b/go-version/minecraft-server-hibernation.go index b61427aa..b7dda506 100644 --- a/go-version/minecraft-server-hibernation.go +++ b/go-version/minecraft-server-hibernation.go @@ -80,7 +80,7 @@ func startMinecraftServer() { if runtime.GOOS == "linux" { err := exec.Command("/bin/bash", "-c", config.Tomodify.StartMinecraftServerLin).Run() if err != nil { - log.Printf("stopEmptyMinecraftServer: error starting minecraft server: %v\n", err) + log.Printf("startMinecraftServer: error starting minecraft server: %v\n", err) return } } else if runtime.GOOS == "windows" { @@ -88,12 +88,12 @@ func startMinecraftServer() { cmd := exec.Command(strings.Split(config.Tomodify.StartMinecraftServerWin, " ")[0], strings.Split(config.Tomodify.StartMinecraftServerWin, " ")[1:]...) cmdIn, err = cmd.StdinPipe() if err != nil { - log.Printf("stopEmptyMinecraftServer: error creating StdinPipe: %v\n", err) + log.Printf("startMinecraftServer: error creating StdinPipe: %v\n", err) return } cmd.Start() } else { - log.Print("stopEmptyMinecraftServer: error: OS not supported!") + log.Print("startMinecraftServer: error: OS not supported!") os.Exit(1) }