bugfix printf
This commit is contained in:
parent
26b8973c6c
commit
fe4192da2d
@ -249,7 +249,7 @@ func listJailsFromDirectory(dir string, dsname string) ([]Jail, error) {
|
|||||||
jailConfPath := fmt.Sprintf("%s/%s/%s", dir, fi.Name(), "config.json")
|
jailConfPath := fmt.Sprintf("%s/%s/%s", dir, fi.Name(), "config.json")
|
||||||
jailConf, err := getJailConfig(jailConfPath)
|
jailConf, err := getJailConfig(jailConfPath)
|
||||||
if err != nil {
|
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
|
// 2. Build jail object from config
|
||||||
|
Loading…
x
Reference in New Issue
Block a user