mirror of https://github.com/nealey/spongy
That was a bit too much logging
This commit is contained in:
parent
892e737b80
commit
6bfdc2fad2
|
@ -38,11 +38,10 @@ func runsvdir(dirname string) {
|
||||||
found := make(map[string]bool)
|
found := make(map[string]bool)
|
||||||
for _, fn := range dn {
|
for _, fn := range dn {
|
||||||
fpath := path.Join(dirname, fn)
|
fpath := path.Join(dirname, fn)
|
||||||
log.Print("Considering", fpath)
|
|
||||||
if exists(path.Join(fpath, "down")) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
if _, ok := services[fpath]; ! ok {
|
if _, ok := services[fpath]; ! ok {
|
||||||
|
if exists(path.Join(fpath, "down")) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if ! exists(path.Join(fpath, "server")) {
|
if ! exists(path.Join(fpath, "server")) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue