mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
lf_curl.sh: fixes bash syntax error
This commit is contained in:
@@ -27,10 +27,8 @@ Best if used from lf_generic_ping.pl to construct commands referencing this scri
|
|||||||
|
|
||||||
while getopts ":d:hi:n:o:p:" OPT ; do
|
while getopts ":d:hi:n:o:p:" OPT ; do
|
||||||
#echo "OPT[$OPT] OPTARG[$OPTARG]"
|
#echo "OPT[$OPT] OPTARG[$OPTARG]"
|
||||||
|
|
||||||
case $OPT in
|
case $OPT in
|
||||||
h)
|
h)
|
||||||
|
|
||||||
echo $help
|
echo $help
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
@@ -84,7 +82,7 @@ for N in `seq 1 $NUM_LOOPS`; do
|
|||||||
echo "Failed $DEST_HOST"
|
echo "Failed $DEST_HOST"
|
||||||
head -1 /tmp/lf_curl_se.$$
|
head -1 /tmp/lf_curl_se.$$
|
||||||
else
|
else
|
||||||
NUM_GOOD=$(( $NUM_GOOD++))
|
NUM_GOOD=$(( $NUM_GOOD +1))
|
||||||
head -1 /tmp/lf_curl_so.$$
|
head -1 /tmp/lf_curl_so.$$
|
||||||
head -1 /tmp/lf_curl_h.$$
|
head -1 /tmp/lf_curl_h.$$
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user