From 6548b3a81b19d225d9c13ed4321d22383567c346 Mon Sep 17 00:00:00 2001 From: rjpadilla <23529006+rjpadilla@users.noreply.github.com> Date: Mon, 28 Jun 2021 12:33:57 -0400 Subject: [PATCH] removed test in conditional and replaced with grep --- autorunonce | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autorunonce b/autorunonce index 1d8593c5..1cfd3143 100644 --- a/autorunonce +++ b/autorunonce @@ -176,7 +176,7 @@ if [ $startplanet = "true" ]; then { echo "#!/bin/sh" echo - echo "if [ \"$(treehouses container)\" = \"balena\" ]; then" + echo "if echo \"\$(treehouses container)\" | grep \"balena\" ; then" echo " export DOCKER_HOST=localhost:2375" echo "fi" echo "sleep 1"