From caf8301679fe59cd9dbcf8b98164526bfe615813 Mon Sep 17 00:00:00 2001 From: deajan Date: Fri, 2 Sep 2016 15:47:02 +0200 Subject: [PATCH] Another typo fixing :' sic --- dev/ofunctions.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dev/ofunctions.sh b/dev/ofunctions.sh index 3ae7ace..7c5fe09 100644 --- a/dev/ofunctions.sh +++ b/dev/ofunctions.sh @@ -1,6 +1,6 @@ #### MINIMAL-FUNCTION-SET BEGIN #### -## FUNC_BUILD=2016090202 +## FUNC_BUILD=2016090203 ## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr ## To use in a program, define the following variables: @@ -675,7 +675,7 @@ function WaitForTaskCompletion { fi done SendAlert true - errrorcount=$((errorcount+1)) + errorcount=$((errorcount+1)) fi fi @@ -732,7 +732,6 @@ function ParallelExec { local commandsArg="${2}" # Semi-colon separated list of commands local pid - local runningPids=0 local counter=0 local commandsArray local pidsArray @@ -1113,7 +1112,7 @@ function CheckConnectivity3rdPartyHosts { do eval "$PING_CMD $i > /dev/null 2>&1" & WaitForTaskCompletion $! 180 360 ${FUNCNAME[0]} true $KEEP_LOGGING - reval=$? + retval=$? if [ $retval != 0 ]; then Logger "Cannot ping 3rd party host [$i]. Return code [$retval]." "NOTICE" else