Cleanup also called when bogus config detected
This commit is contained in:
parent
ae64a967f6
commit
ac31de2388
|
@ -9,7 +9,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
|||
AUTHOR="(C) 2013-2018 by Orsiris de Jong"
|
||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||
PROGRAM_VERSION=1.3.0-beta1
|
||||
PROGRAM_BUILD=2018100803
|
||||
PROGRAM_BUILD=2018101001
|
||||
IS_STABLE=no
|
||||
|
||||
##### Execution order #__WITH_PARANOIA_DEBUG
|
||||
|
@ -2771,6 +2771,9 @@ function SyncOnChanges {
|
|||
|
||||
#### SCRIPT ENTRY POINT
|
||||
|
||||
# First TrapQuit declaration before knowing if we run as daemon or not
|
||||
trap TrapQuit TERM EXIT HUP QUIT
|
||||
|
||||
# quicksync mode settings, overriden by config file
|
||||
STATS=false
|
||||
PARTIAL=no
|
||||
|
|
Loading…
Reference in New Issue