Fixed rsync option placement
This commit is contained in:
parent
9b573c7380
commit
d0da1398d2
|
@ -8,7 +8,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(L) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.1-dev
|
PROGRAM_VERSION=1.1-dev
|
||||||
PROGRAM_BUILD=2016022101
|
PROGRAM_BUILD=2016030101
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
## FUNC_BUILD=2016021803
|
## FUNC_BUILD=2016021803
|
||||||
|
@ -2408,7 +2408,7 @@ function Init {
|
||||||
SYNC_OPTS="-u"
|
SYNC_OPTS="-u"
|
||||||
|
|
||||||
if [ $_VERBOSE -eq 1 ]; then
|
if [ $_VERBOSE -eq 1 ]; then
|
||||||
SYNC_OPTS=$SYNC_OPTS"i"
|
SYNC_OPTS=$SYNC_OPTS" -i"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $STATS -eq 1 ]; then
|
if [ $STATS -eq 1 ]; then
|
||||||
|
|
|
@ -8,7 +8,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(L) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.1-dev
|
PROGRAM_VERSION=1.1-dev
|
||||||
PROGRAM_BUILD=2016022101
|
PROGRAM_BUILD=2016030101
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
source "./ofunctions.sh"
|
source "./ofunctions.sh"
|
||||||
|
@ -1439,7 +1439,7 @@ function Init {
|
||||||
SYNC_OPTS="-u"
|
SYNC_OPTS="-u"
|
||||||
|
|
||||||
if [ $_VERBOSE -eq 1 ]; then
|
if [ $_VERBOSE -eq 1 ]; then
|
||||||
SYNC_OPTS=$SYNC_OPTS"i"
|
SYNC_OPTS=$SYNC_OPTS" -i"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $STATS -eq 1 ]; then
|
if [ $STATS -eq 1 ]; then
|
||||||
|
|
4
osync.sh
4
osync.sh
|
@ -8,7 +8,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(L) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(L) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.1-dev
|
PROGRAM_VERSION=1.1-dev
|
||||||
PROGRAM_BUILD=2016022101
|
PROGRAM_BUILD=2016030101
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
## FUNC_BUILD=2016021803
|
## FUNC_BUILD=2016021803
|
||||||
|
@ -2302,7 +2302,7 @@ function Init {
|
||||||
SYNC_OPTS="-u"
|
SYNC_OPTS="-u"
|
||||||
|
|
||||||
if [ $_VERBOSE -eq 1 ]; then
|
if [ $_VERBOSE -eq 1 ]; then
|
||||||
SYNC_OPTS=$SYNC_OPTS"i"
|
SYNC_OPTS=$SYNC_OPTS" -i"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $STATS -eq 1 ]; then
|
if [ $STATS -eq 1 ]; then
|
||||||
|
|
Loading…
Reference in New Issue