Hi Heiko

On Sun, Oct 15, 2017 at 04:28:59PM +0200, 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.

Did you change anything on the 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")

I see.  The problem is: rsync only generates this output format if it
gets a at least one "-h" parameter.  None are set in the options we use
by default.

But I'm fixing this anyway.

Regards,
Bastian

-- 
Many Myths are based on truth
                -- Spock, "The Way to Eden",  stardate 5832.3

Reply via email to