summaryrefslogtreecommitdiff
path: root/bin/websync
diff options
context:
space:
mode:
Diffstat (limited to 'bin/websync')
-rwxr-xr-xbin/websync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/websync b/bin/websync
index a6750ae..086ab44 100755
--- a/bin/websync
+++ b/bin/websync
@@ -168,7 +168,7 @@ RSYNC_PASSWORD=${RSYNC_PASSWORD:-""}
RSYNC_PROXY=${RSYNC_PROXY:-""}
# General excludes.
-EXCLUDE=${EXCLUDE:-"${HOSTNAME}"}
+EXCLUDE=${EXCLUDE:-"--exclude ${HOSTNAME}"}
# The temp directory used by rsync --delay-updates is not
# world-readable remotely. Always exclude it to avoid errors.