From a7610bcae3ac4579e8cdcae37513cd189949b2ff Mon Sep 17 00:00:00 2001 From: Logan Lipke Date: Thu, 18 Jun 2020 17:06:24 -0700 Subject: [PATCH] Changed find parameters --- updateTest.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updateTest.bash b/updateTest.bash index d50e07fe..81da17f4 100755 --- a/updateTest.bash +++ b/updateTest.bash @@ -13,7 +13,7 @@ GUIDIR="${HL}/LANforgeGUI_${verNum}" ST="/tmp/summary.txt" IP="192.168.95.239" -numFound=$(find "${GUIDIR} -iname down-check" -mmin 60 | grep -c "down-check") +numFound=$(find ${GUIDIR} -name down-check -mmin 60 | grep -c down-check) if [[ $numFound == 1 ]]; then ping -c2 -i1 -nq -w2 -W2 ${IP} if [[ 1 != $? ]]; then