chiark / gitweb /
svc/conntrack.in: Iterate over the output of `svcsubmit'.
[tripe] / svc / conntrack.in
index 172ca1f4810eca77069e963b90303de163c37ff2..7379303795c41b3834795a8a0542af411c305d3f 100644 (file)
@@ -321,7 +321,7 @@ def kickpeers():
       if want is not None and not found:
         def _(want = want):
           try:
-            SM.svcsubmit('connect', 'active', want)
+            list(SM.svcsubmit('connect', 'active', want))
           except T.TripeError, exc:
             SM.warn('conntrack', 'connect-failed', want, *exc.args)
         if T._debug: print '#   peer %s: bring up' % want