Fixed _QUICK_SYNC value too high

pull/167/head
deajan 5 years ago
parent 61729d1245
commit 22af510375

@ -7,7 +7,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
AUTHOR="(C) 2013-2019 by Orsiris de Jong"
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
PROGRAM_VERSION=1.3.0-beta2
PROGRAM_BUILD=2019052016
PROGRAM_BUILD=2019052101
IS_STABLE=false
CONFIG_FILE_REVISION_REQUIRED=1.3.0
@ -3109,6 +3109,11 @@ function GetCommandlineArguments {
# Remove leading space if there is one
opts="${opts# *}"
# Fix when reloading GetCommandlineArguments
if [ $_QUICK_SYNC -gt 2 ]; then
_QUICK_SYNC=2
fi
}
GetCommandlineArguments "${@}"
@ -3168,7 +3173,7 @@ else
exit 1
fi
# Reload GetCommandLineArguments so we can override config file with run time arguments
# Reload GetCommandlineArguments so we can override config file with run time arguments
GetCommandlineArguments "${@}"
if [ "$LOGFILE" == "" ]; then

Loading…
Cancel
Save