Fix Windows expandEnv flag
This commit is contained in:
@@ -62,7 +62,7 @@ func (s *windowsService) Execute(args []string, r <-chan svc.ChangeRequest, stat
|
|||||||
|
|
||||||
// Instantiate replication command and load configuration.
|
// Instantiate replication command and load configuration.
|
||||||
c := NewReplicateCommand()
|
c := NewReplicateCommand()
|
||||||
if c.Config, err = ReadConfigFile(DefaultConfigPath()); err != nil {
|
if c.Config, err = ReadConfigFile(DefaultConfigPath(), true); err != nil {
|
||||||
log.Printf("cannot load configuration: %s", err)
|
log.Printf("cannot load configuration: %s", err)
|
||||||
return true, 1
|
return true, 1
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user