From 6bfdc2fad21d1dd8cddb2d895b43179aa30b8277 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Wed, 11 Feb 2015 15:56:23 -0700 Subject: [PATCH] That was a bit too much logging --- spongy/spongy.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/spongy/spongy.go b/spongy/spongy.go index c3fb86d..30b18a8 100644 --- a/spongy/spongy.go +++ b/spongy/spongy.go @@ -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 }