mirror of
https://github.com/deajan/obackup.git
synced 2024-12-04 20:53:41 +01:00
Update ofunctions
This commit is contained in:
parent
b9cf079f15
commit
e4b80c85cc
@ -31,7 +31,7 @@
|
|||||||
#### OFUNCTIONS MINI SUBSET ####
|
#### OFUNCTIONS MINI SUBSET ####
|
||||||
#### OFUNCTIONS MICRO SUBSET ####
|
#### OFUNCTIONS MICRO SUBSET ####
|
||||||
_OFUNCTIONS_VERSION=2.3.0-RC4
|
_OFUNCTIONS_VERSION=2.3.0-RC4
|
||||||
_OFUNCTIONS_BUILD=2020050301
|
_OFUNCTIONS_BUILD=2020050302
|
||||||
#### _OFUNCTIONS_BOOTSTRAP SUBSET ####
|
#### _OFUNCTIONS_BOOTSTRAP SUBSET ####
|
||||||
_OFUNCTIONS_BOOTSTRAP=true
|
_OFUNCTIONS_BOOTSTRAP=true
|
||||||
#### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
|
#### _OFUNCTIONS_BOOTSTRAP SUBSET END ####
|
||||||
@ -1837,10 +1837,10 @@ function RunBeforeHook {
|
|||||||
if [ "$pids" != "" ]; then
|
if [ "$pids" != "" ]; then
|
||||||
ExecTasks $pids "${FUNCNAME[0]}" false 0 0 0 0 true $SLEEP_TIME $KEEP_LOGGING
|
ExecTasks $pids "${FUNCNAME[0]}" false 0 0 0 0 true $SLEEP_TIME $KEEP_LOGGING
|
||||||
retval=$?
|
retval=$?
|
||||||
|
else
|
||||||
|
retval=0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "ert=$retval"
|
|
||||||
|
|
||||||
if [ "$STOP_ON_CMD_ERROR" == true ] && [ $retval -ne 0 ]; then
|
if [ "$STOP_ON_CMD_ERROR" == true ] && [ $retval -ne 0 ]; then
|
||||||
Logger "Stopping on command execution error." "CRITICAL"
|
Logger "Stopping on command execution error." "CRITICAL"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user