Rpm working again, systemd working on centos 7

This commit is contained in:
Torkel Ödegaard
2015-04-10 16:20:01 +02:00
parent 3e49609099
commit d32c03ed11
7 changed files with 155 additions and 85 deletions
+2 -1
View File
@@ -227,6 +227,7 @@ func evalConfigValues() {
func loadSpecifedConfigFile(configFile string) {
userConfig, err := ini.Load(configFile)
userConfig.BlockMode = false
if err != nil {
log.Fatal(3, "Failed to parse %v, %v", configFile, err)
}
@@ -262,7 +263,7 @@ func loadConfiguration(args *CommandLineArgs) {
configFiles = append(configFiles, defaultConfigFile)
Cfg, err = ini.Load(defaultConfigFile)
Cfg.BlockMode = true
Cfg.BlockMode = false
if err != nil {
log.Fatal(3, "Failed to parse defaults.ini, %v", err)