bugfix printf

This commit is contained in:
yo 2023-08-05 19:49:55 +02:00
parent 26b8973c6c
commit fe4192da2d

View File

@ -249,7 +249,7 @@ func listJailsFromDirectory(dir string, dsname string) ([]Jail, error) {
jailConfPath := fmt.Sprintf("%s/%s/%s", dir, fi.Name(), "config.json")
jailConf, err := getJailConfig(jailConfPath)
if err != nil {
log.Println("ERROR reading jail config for %s", jailConfPath)
fmt.Printf("ERROR reading jail config from %s\n", jailConfPath)
}
// 2. Build jail object from config