fix: config validator output

This commit is contained in:
Joel Vasallo 2018-10-19 19:52:11 -05:00
parent 23ad90f2c4
commit 5d17b3de84
1 changed files with 1 additions and 1 deletions

View File

@ -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, ", "))
}
}
}