Re: error code 255 - not mentioned in manpage?

2016-10-25 Thread Paul Slootman
On Tue 25 Oct 2016, devz...@web.de wrote:
> 
> is there a reason why error code 255 is not mentioned in the manpage 
> and wouldn`t it make sense to add "255 Unexplained Error" there 
> for completeness ?

It wouldn't be unexplained then anymore, would it? :-)


Paul

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

error code 255 - not mentioned in manpage?

2016-10-25 Thread devzero
hi, 

is there a reason why error code 255 is not mentioned in the manpage 
and wouldn`t it make sense to add "255 Unexplained Error" there 
for completeness ?

I`m writing a script which checks exit values and while testing it, i 
got value 255, looked into the manpage and scratched my head what`s the 
meaning of it. 

ok - it`s obvious if you take a look at rsync error output, but i think 
all exit values should be documented.

regards
roland


# cat rsync.err
ssh: connect to host .. port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: unexplained error (code 255) at io.c(605) [Receiver=3.0.9]

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html