mirror of
https://github.com/deajan/obackup.git
synced 2024-12-26 07:23:41 +01:00
Another typo fixing :' sic
This commit is contained in:
parent
f9fef31e73
commit
caf8301679
@ -1,6 +1,6 @@
|
|||||||
#### MINIMAL-FUNCTION-SET BEGIN ####
|
#### 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
|
## 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:
|
## To use in a program, define the following variables:
|
||||||
@ -675,7 +675,7 @@ function WaitForTaskCompletion {
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
SendAlert true
|
SendAlert true
|
||||||
errrorcount=$((errorcount+1))
|
errorcount=$((errorcount+1))
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -732,7 +732,6 @@ function ParallelExec {
|
|||||||
local commandsArg="${2}" # Semi-colon separated list of commands
|
local commandsArg="${2}" # Semi-colon separated list of commands
|
||||||
|
|
||||||
local pid
|
local pid
|
||||||
local runningPids=0
|
|
||||||
local counter=0
|
local counter=0
|
||||||
local commandsArray
|
local commandsArray
|
||||||
local pidsArray
|
local pidsArray
|
||||||
@ -1113,7 +1112,7 @@ function CheckConnectivity3rdPartyHosts {
|
|||||||
do
|
do
|
||||||
eval "$PING_CMD $i > /dev/null 2>&1" &
|
eval "$PING_CMD $i > /dev/null 2>&1" &
|
||||||
WaitForTaskCompletion $! 180 360 ${FUNCNAME[0]} true $KEEP_LOGGING
|
WaitForTaskCompletion $! 180 360 ${FUNCNAME[0]} true $KEEP_LOGGING
|
||||||
reval=$?
|
retval=$?
|
||||||
if [ $retval != 0 ]; then
|
if [ $retval != 0 ]; then
|
||||||
Logger "Cannot ping 3rd party host [$i]. Return code [$retval]." "NOTICE"
|
Logger "Cannot ping 3rd party host [$i]. Return code [$retval]." "NOTICE"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user