summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2008-09-27 22:38:47 +0200
committerJoerg Jaspert <joerg@debian.org>2008-09-27 22:38:47 +0200
commit54d65b160b62bce29bca3e6351d505654a27b2ca (patch)
treea4f5cd4137a87df23b44e55853153d69d5056541 /bin
parente01f2a5f2618f1b6198b3697879abea690f1dfcc (diff)
var names
fix variables names Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ftpsync4
1 files changed, 2 insertions, 2 deletions
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