aboutsummaryrefslogtreecommitdiff
path: root/tools/test.sh
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-08-05 19:58:38 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-08-05 19:58:38 +1200
commitde14dd5bff472740633b2ad598fd532a67da9f50 (patch)
tree45e82c14dfc6cc91b357bbcbcf1e91989a5390ed /tools/test.sh
parent5d8646147ca232d3a55d572e345308c3da97542d (diff)
downloadtrackermap-server-de14dd5bff472740633b2ad598fd532a67da9f50.tar.gz
trackermap-server-de14dd5bff472740633b2ad598fd532a67da9f50.tar.bz2
trackermap-server-de14dd5bff472740633b2ad598fd532a67da9f50.zip
Update tools shell scripts
Diffstat (limited to 'tools/test.sh')
-rwxr-xr-xtools/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test.sh b/tools/test.sh
index 6ae1147ac..fe10b7199 100755
--- a/tools/test.sh
+++ b/tools/test.sh
@@ -19,7 +19,7 @@
test_protocol () {
echo -n -e $3 | nc localhost $1
- if [[ $? -ne 0 ]]
+ if [ $? -ne 0 ]
then
printf "%-4s %-15s FAIL\n" $1 $2
else