diff --git a/commands/command.go b/commands/command.go index 79e6c130..63d00776 100644 --- a/commands/command.go +++ b/commands/command.go @@ -90,6 +90,7 @@ func RegisterLogger(log string) { if _, err := os.Stat(logPath); os.IsNotExist(err) { os.MkdirAll(log, 0777) + logPath = strings.Replace(logPath,"\\","/","") if f, err := os.Create(logPath); err == nil { f.Close()