Ignore empty env declarations

master
xSmurf 10 years ago
parent 319157a1d5
commit f528915910

@ -214,6 +214,9 @@ func (d *daemonState) sanitizeEnvironment(p *oz.Profile, oldEnv []string) []stri
}
for _, EnvItem := range p.Environment {
if EnvItem.Name == "" {
continue
}
if EnvItem.Value != "" {
d.log.Info("Setting environment variable: %s=%s\n", EnvItem.Name, EnvItem.Value)

Loading…
Cancel
Save