From 654175798bdbdd6403e10c8fa74e8586b3612ea1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 3 Nov 1998 07:08:27 +0000 Subject: patch from Alberto Accomazzi to add different exit codes for different conditions. --- compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compat.c') diff --git a/compat.c b/compat.c index ba1a83e5..af72f8b1 100644 --- a/compat.c +++ b/compat.c @@ -54,7 +54,7 @@ void setup_protocol(int f_out,int f_in) remote_version > MAX_PROTOCOL_VERSION) { rprintf(FERROR,"protocol version mismatch - is your shell clean?\n"); rprintf(FERROR,"(see the rsync man page for an explanation)\n"); - exit_cleanup(1); + exit_cleanup(RERR_PROTOCOL); } if (verbose > 2) -- cgit v1.2.3