Always exitcode 256 under Cygwin with rsync 2.6.4

Shachar Shemesh rsync at shemesh.biz
Mon Apr 4 11:03:03 GMT 2005


Wayne Davison wrote:

>On Mon, Apr 04, 2005 at 07:28:02AM +0200, Joost van den Broek wrote:
>  
>
>>When you just give an empty rsync command, it should also exit with an
>>exit code (1). But the errorlevel gets set to no. 256 instead.
>>    
>>
>
>As mentioned in the other message that brought this up, I assume that
>this is something wrong with the cygwin version (perhaps in how it was
>compiled?).  Rsync is exiting with all the right codes under Linux.
>
>..wayne..
>  
>
It is curious to note that, under Posix, it is impossible to exit with 
return code 256, as the return code is an 8 bit value.

          Shachar

-- 
Shachar Shemesh
Lingnu Open Source Consulting ltd.
Have you backed up today's work? http://www.lingnu.com/backup.html



More information about the rsync mailing list