From 54d65b160b62bce29bca3e6351d505654a27b2ca Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 27 Sep 2008 22:38:47 +0200 Subject: var names fix variables names Signed-off-by: Joerg Jaspert --- bin/ftpsync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/ftpsync b/bin/ftpsync index 5b0a894..0799645 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -83,8 +83,8 @@ EXCLUDE=${EXCLUDE:-""} EXCLUDE="${EXCLUDE} --exclude .~tmp~/" # Check for some environment variables -if [ -z "${TO}" ] || [ -z "${RSYNC_HOST}" ] || [ -z "${FROM}" ]; then - error "One of the TO, RSYNC_HOST or FROM variables seems to be empty" +if [ -z "${TO}" ] || [ -z "${RSYNC_HOST}" ] || [ -z "${RSYNC_PATH}" ]; then + error "One of the TO, RSYNC_HOST or RSYNC_PATH variables seems to be empty" exit 2 fi -- cgit v1.2.3