From cb7dbbe2af5d28d63d78a40dcfcee89db5b7ee44 Mon Sep 17 00:00:00 2001 From: deajan Date: Fri, 6 Dec 2019 10:53:30 +0100 Subject: [PATCH] Another bad fix for #175 --- dev/n_osync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev/n_osync.sh b/dev/n_osync.sh index 6cdb6ff..a309608 100644 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -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-prerc1 -PROGRAM_BUILD=2019110202 +PROGRAM_BUILD=2019120601 IS_STABLE=false CONFIG_FILE_REVISION_REQUIRED=1.3.0 @@ -802,7 +802,7 @@ function treeList { # see https://apple.stackexchange.com/questions/275521/how-does-group-wheel-get-on-my-files and #175 #mv -f "$RUN_DIR/$PROGRAM.${FUNCNAME[0]}.$replicaType.$SCRIPT_PID.$TSTAMP" "$treeFilename" [ -f "$treeFileName" ] && rm -f "$treeFileName" - cp -p "$RUN_DIR/$PROGRAM.${FUNCNAME[0]}.$replicaType.$SCRIPT_PID.$TSTAMP" "$treeFilename" && rm -f "$treeFileName" + cp -p "$RUN_DIR/$PROGRAM.${FUNCNAME[0]}.$replicaType.$SCRIPT_PID.$TSTAMP" "$treeFilename" && rm -f "$RUN_DIR/$PROGRAM.${FUNCNAME[0]}.$replicaType.$SCRIPT_PID.$TSTAMP" if [ $? -ne 0 ]; then Logger "Cannot move treeList files \"$RUN_DIR/$PROGRAM.${FUNCNAME[0]}.$replicaType.$SCRIPT_PID.$TSTAMP\" => \"$treeFilename\"". "ERROR" return $retval