fix: config validator output

pull/6878/head
Joel Vasallo 8 years ago
parent 23ad90f2c4
commit 5d17b3de84

@ -176,7 +176,7 @@ func Validate(config *Config) error {
}
if supported_os != true {
return fmt.Errorf("Invalid OS specified in only_on: '%s'\n"+
"Supported OS names: %v", provided_os, supported_syslist)
"Supported OS names: %s", provided_os, strings.Join(supported_syslist, ", "))
}
}
}

Loading…
Cancel
Save