From 6b6a0916348cd3ed8b7fa4c1a7edaa5477166f9b Mon Sep 17 00:00:00 2001 From: "aiyion.prime" Date: Fri, 14 Jan 2022 11:47:37 +0100 Subject: [PATCH] fixup! gluon-mesh-babel: implement neighbour check --- .../files/lib/gluon/state/check.d/has_neighbours | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-mesh-babel/files/lib/gluon/state/check.d/has_neighbours b/package/gluon-mesh-babel/files/lib/gluon/state/check.d/has_neighbours index 652d6099..b0f5aa34 100644 --- a/package/gluon-mesh-babel/files/lib/gluon/state/check.d/has_neighbours +++ b/package/gluon-mesh-babel/files/lib/gluon/state/check.d/has_neighbours @@ -1,2 +1,2 @@ #!/bin/sh -out=$(echo dump | nc ::1 33123 | grep "add neighbour" 2>/dev/null) && [ -n "$out" ] +echo dump | nc ::1 33123 | grep -qF "add neighbour"