diff --git a/main.go b/main.go index 2e15b4a..3a5ac61 100644 --- a/main.go +++ b/main.go @@ -66,9 +66,6 @@ func init() { log.SetLevel("warn") logger = log.NewLogger(os.Stdout) - logger.Warnf(*confUsers) - logger.Warnf(*confUsersWorkspaces) - //wd := util.OS.Pwd() //if strings.HasPrefix(wd, os.TempDir()) { // logger.Error("Don't run Wide in OS' temp directory or with `go run`") diff --git a/output/run.go b/output/run.go index 6f7511a..d50db3d 100644 --- a/output/run.go +++ b/output/run.go @@ -68,6 +68,7 @@ func RunHandler(w http.ResponseWriter, r *http.Request) { cmd = exec.Command(filePath) curDir := filepath.Dir(filePath) cmd.Dir = curDir + logger.Warnf("Executing user's program [" + filePath + "] without docker sandbox") } stdout, err := cmd.StdoutPipe()