Hi Peter
On Sun, Oct 15, 2017 at 05:00:51PM +0000, Peter Palfrader wrote:
> On Sun, 15 Oct 2017, Heiko Richter wrote:
> > Going through the logs I noticed ftpsync breakes after the second
> > stage. As I haven't changed anything it seems to be a bug in the
> > newest version of the ftpsync script.
> >
> > Here are the logs:
> > Oct 15 16:18:28 www ftpsync[39220]: Back from rsync with returncode 0
> > /home/debian/bin/ftpsync: line 601: 211.95M: syntax error: invalid
> > arithmetic operator (error token is ".95M")
> > Oct 15 16:18:29 www ftpsync[39220]: Mirrorsync done
>
> My line 601 of ftpsync version 20170920 does not contain mathematical
> operators.
Actually it does. Line 601 contains:
| total=$(( total + bytes ))
> Also, any idea where .95M comes from?
>From rsync, with options we don't set.
Bastian
--
Those who hate and fight must stop themselves -- otherwise it is not stopped.
-- Spock, "Day of the Dove", stardate unknown