error code 255 - not mentioned in manpage?

devzero at devzero at
Tue Oct 25 09:20:23 UTC 2016


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.


# 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]

More information about the rsync mailing list