aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2014-12-12 22:49:48 +0000
committerBernard Ogden <bernie.ogden@linaro.org>2014-12-15 11:47:24 +0000
commit2bee0c026ddce9c481e911f017a661b0abcc7355 (patch)
treea09ec1f4c31a9368fe7377153ba97be3543b240f
parent7f070a06018c5547292fc2d1c5c68df4aee9c30f (diff)
Fix name of variable
-rwxr-xr-xscripts/lava.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lava.sh b/scripts/lava.sh
index 249bbe9..c557e6f 100755
--- a/scripts/lava.sh
+++ b/scripts/lava.sh
@@ -155,7 +155,7 @@ sed -i "s+^\(.*\"stream\":\)[^\"]*\".*\"[^,]*\(,\?\)[[:blank:]]*\$+\1 \"/private
lava_network
in_lab=$?
-if $ret -eq 2; then
+if test ${in_lab} -eq 2; then
echo "Unable to determine whether I am inside the LAVA lab, assuming that I am not" 1>&2
fi