From 7a38c0ceb5792d45ac58baa4b98d5104f9ad1708 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Wed, 6 Jan 2016 23:14:17 +0100 Subject: Fix egrep call --- bin/ftpsync | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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:-""} ) -- cgit v1.2.3