From 215820f02b6b957534248a0ce70c69c57efb29f0 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Sat, 14 Dec 2019 16:32:28 +0800 Subject: [PATCH] :art: #2 --- conf/wide.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/conf/wide.go b/conf/wide.go index 4ca9ade..fa2c835 100644 --- a/conf/wide.go +++ b/conf/wide.go @@ -90,11 +90,7 @@ func Load(confPath, confData, confServer, confLogLevel string, confSiteStatCode cmd := exec.Command("docker", "version") _, err := cmd.CombinedOutput() if nil != err { - if !gulu.OS.IsWindows() { - logger.Errorf("Not found 'docker' installed, running user's code will cause security problem") - - os.Exit(-1) - } + logger.Warnf("Not found 'docker' installed, running user's code will cause security problem") } else { Docker = true }