summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJoerg Jaspert <joerg@debian.org>2016-01-06 23:14:17 +0100
committerJoerg Jaspert <joerg@debian.org>2016-01-06 23:15:13 +0100
commit7a38c0ceb5792d45ac58baa4b98d5104f9ad1708 (patch)
tree7bc5ed9d9d5548b453029f358c0e7ccaaf58e5da /bin
parentdc6d6030549c26becc6506f3ed7903b2168ba93c (diff)
Fix egrep call
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ftpsync2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ftpsync b/bin/ftpsync
index b230823..2c56c3c 100755
--- a/bin/ftpsync
+++ b/bin/ftpsync
@@ -139,7 +139,7 @@ check_rsync() {
SPEED="unknown"
if [[ -f ${LOGDIR}/rsync-${NAME}.log ]]; then
SPEED=$(
- SPEEDLINE=$(egrep '[[0-9.,]]+ bytes/sec' "${LOGDIR}/rsync-${NAME}.log" | tail -n 1)
+ SPEEDLINE=$(egrep '[0-9.,]+ bytes/sec' "${LOGDIR}/rsync-${NAME}.log" | tail -n 1)
set "nothing" ${SPEEDLINE}
echo ${8:-""}
)