diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/env.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/env.go b/config/env.go index f482cd247..1e7d47216 100644 --- a/config/env.go +++ b/config/env.go @@ -41,7 +41,7 @@ func SetEnvVars(oldVars *[]string, keyValues ...string) { } func SplitEnvVar(v string) (string, string) { - parts := strings.Split(v, "=") + parts := strings.SplitN(v, "=", 2) return parts[0], parts[1] } |