From eab13fea4dab467d05083dfefdb5d8b4877baa35 Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 18 Jul 2016 10:11:49 +0200 Subject: [PATCH] Fixed wrong log output for attr updates --- dev/n_osync.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev/n_osync.sh b/dev/n_osync.sh index 27e34d5..643efae 100755 --- a/dev/n_osync.sh +++ b/dev/n_osync.sh @@ -3,8 +3,8 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance AUTHOR="(C) 2013-2016 by Orsiris de Jong" CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr" -PROGRAM_VERSION=1.1-RC1 -PROGRAM_BUILD=2016070601 +PROGRAM_VERSION=1.1-RC2 +PROGRAM_BUILD=2016071801 IS_STABLE=yes source "./ofunctions.sh" @@ -709,7 +709,7 @@ function sync_attrs { fi if [ $retval != 0 ] && [ $retval != 24 ]; then - Logger "Updating file attributes on $source [$retval]. Stopping execution." "CRITICAL" + Logger "Updating file attributes on $dest_replica [$retval]. Stopping execution." "CRITICAL" if [ $_VERBOSE -eq 0 ] && [ -f "$RUN_DIR/$PROGRAM.attr-update.$dest_replica.$SCRIPT_PID" ]; then Logger "Rsync output:\n$(cat $RUN_DIR/$PROGRAM.attr-update.$dest_replica.$SCRIPT_PID)" "NOTICE" fi