From 262defc3f5ee5dfe53e85d512a482f3115565fcf Mon Sep 17 00:00:00 2001 From: Vincent Riquer Date: Fri, 10 Feb 2012 09:12:20 +0100 Subject: [PATCH] typo fix --- remote-backup | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/remote-backup b/remote-backup index 5d675e0..918b859 100755 --- a/remote-backup +++ b/remote-backup @@ -81,13 +81,13 @@ failRsync() { nameFailed="$1" code=$2 path="$3" - failedBackups+=( "$name" ) + failedBackups+=( "$nameFailed" ) if [ -d "$3" ] then touch "$3/unfinished.remote-backup" - failedWith["$name"]="RSYNC_PARTIAL $code" + failedWith["$nameFailed"]="RSYNC_PARTIAL $code" else - failedWith["$name"]="RSYNC_FAILED $code" + failedWith["$nameFailed"]="RSYNC_FAILED $code" fi } @@ -247,7 +247,11 @@ runBackup() { then fail "$NAME" PROTO_MISMATCH else - echo "Rsync protocol mismatch, trying with only one --link-dest" + cat <<-EOF + + Rsync protocol mismatch, trying with only one --link-dest + + EOF runBackup "$1" PROTOCOLMISMATCH fi ;;