summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2011-02-22 22:32:48 +0100
committerJoerg Jaspert <joerg@debian.org>2011-02-22 22:32:48 +0100
commitc1aa74d28eefa38d5a513ffee52b22bc63652579 (patch)
tree1686aaea4a33716c826b62c5062a08dbfd21b57c /bin
parent77223bb1af262e139a898020a05680e932d51888 (diff)
ftpsync
path/filename without "" considered bad, mmmmmmmkay? Signed-off-by: Joerg Jaspert <joerg@debian.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 78006f3..1f815fe 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -492,7 +492,7 @@ while [ -e "${UPDATEREQUIRED}" ]; do
# We are lucky, it worked. Now do step 2 and sync again, this time including
# the packages/releases files
${RSYNC} ${RSYNC_OPTIONS} ${RSYNC_OPTIONS2} ${EXCLUDE} ${SOURCE_EXCLUDE} \
- ${RSYNCPTH}::${RSYNC_PATH} "${TO}" >>${LOGDIR}/rsync-${NAME}.log 2>>${LOGDIR}/rsync-${NAME}.error
+ ${RSYNCPTH}::${RSYNC_PATH} "${TO}" >>"${LOGDIR}/rsync-${NAME}.log" 2>>"${LOGDIR}/rsync-${NAME}.error"
result=$?
set -e