Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

fixed bug.

Jack5912489e2f90
diff --git a/core/internal/cmd/cmd.go b/core/internal/cmd/cmd.go
index 8c3909c3..09aa70ab 100644
--- a/core/internal/cmd/cmd.go
+++ b/core/internal/cmd/cmd.go
@@ -55,7 +55,7 @@ var (
// get safe path
safepath, _ := public.DockerEnv("SafePath")
- if safepath == "" {
+ if safepath != "" {
safepath = strings.TrimPrefix(safepath, "/")
}