From de2cbb7578770d9cf5046bc62f98b2ffc0bfe6fd Mon Sep 17 00:00:00 2001 From: 24online24 Date: Thu, 22 Dec 2022 09:02:38 +0200 Subject: [PATCH] Fixed typo in daemon checking for Linux --- dev/daemon.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev/daemon.go b/dev/daemon.go index a48acc5..71d96b1 100644 --- a/dev/daemon.go +++ b/dev/daemon.go @@ -38,8 +38,9 @@ func stop_daemon() { func check_daemon() bool { cmd2 := exec.Command("docker", "ps") out, err := cmd2.CombinedOutput() + fmt.Println(string(out)) if strings.Contains(string(out), "error during connect:") || - strings.Contains(string(out), "Cannot connect to the Docker daemon.") { + strings.Contains(string(out), "Cannot connect to the Docker daemon") { return false } if err != nil {