That was a bit too much logging

This commit is contained in:
Neale Pickett 2015-02-11 15:56:23 -07:00
parent 892e737b80
commit 6bfdc2fad2
1 changed files with 3 additions and 4 deletions

View File

@ -38,11 +38,10 @@ func runsvdir(dirname string) {
found := make(map[string]bool)
for _, fn := range dn {
fpath := path.Join(dirname, fn)
log.Print("Considering", fpath)
if exists(path.Join(fpath, "down")) {
continue
}
if _, ok := services[fpath]; ! ok {
if exists(path.Join(fpath, "down")) {
continue
}
if ! exists(path.Join(fpath, "server")) {
continue
}