You could try errcode.h:

/* error codes returned by rsync */

#define RERR_SYNTAX     1       /* syntax or usage error */
#define RERR_PROTOCOL   2       /* protocol incompatibility */
#define RERR_FILESELECT 3       /* errors selecting input/output files, dirs
*/
#define RERR_UNSUPPORTED 4       /* requested action not supported */

#define RERR_SOCKETIO   10      /* error in socket IO */
#define RERR_FILEIO     11      /* error in file IO */
#define RERR_STREAMIO   12      /* error in rsync protocol data stream */
#define RERR_MESSAGEIO  13      /* errors with program diagnostics */
#define RERR_IPC        14      /* error in IPC code */

#define RERR_SIGNAL     20      /* status returned when sent SIGUSR1, SIGINT
*/
#define RERR_WAITCHILD  21      /* some error returned by waitpid() */
#define RERR_MALLOC     22      /* error allocating core memory buffers */

#define RERR_TIMEOUT    30      /* timeout in data send/receive */

But I do agree it would be nice if the man page documented them.

John.

-----Original Message-----
From: Ken Versteeg [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 29, 2001 02:18 PM
To: [EMAIL PROTECTED]
Subject: rsync exit codes


Hi,

Where can I find an explanation of rsync's exit codes?  I've checked the
man pages and the web site but don't see anything.  Specifically, I'm
looking for an explanation of exit status 20?

Thanks,

Ken 

(pls reply to me directly, I'm not currently subscribe to the mailing
list.  Thanks)

-- 


Ken Versteeg
Berbee
5520 Research Park Dr.  Madison, WI  53711
[EMAIL PROTECTED]
(608)298.1246  pager:376.6573  cell:212.2556
Berbee...putting the E in business.

Reply via email to