summaryrefslogtreecommitdiff
path: root/bin/ftpsync
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ftpsync')
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index 484789d..1582f7a 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -113,7 +113,7 @@ cleanup() {
SPEED=$(
SPEEDLINE=$(egrep '[0-9.]+ bytes/sec' "${LOGDIR}/rsync-${NAME}.log")
set "nothing" ${SPEEDLINE}
- echo $8
+ echo ${8:-""}
)
if [ -n "${SPEED}" ]; then
SPEED=${SPEED%%.*}