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

--
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to