Log "There is a dead osync lock on master. Instance $master_lock_pid no longer running. Resuming."
Log "There is a dead osync lock on master. Instance $master_lock_pid no longer running. Resuming."
@ -699,7 +699,12 @@ function master_tree_current
{
{
Log "Creating master replica file list."
Log "Creating master replica file list."
## Tree listing function: list | remove everything not file or directory | remove first 4 columns | remove empty leading spaces | remove "." dir (or return true if not exist)
## Tree listing function: list | remove everything not file or directory | remove first 4 columns | remove empty leading spaces | remove "." dir (or return true if not exist)
################################################################################################################################################# Actual sync begins here
################################################################################################################################################# Actual sync begins here
## This replaces the case statement below because ;& operator is not supported in bash 3.2... Code is more messy than case :(
## This replaces the case statement below because ;& operator is not supported in bash 3.2... Code is more messy than case :(