summaryrefslogtreecommitdiff
path: root/compat.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-11-03 07:08:27 +0000
committerAndrew Tridgell <tridge@samba.org>1998-11-03 07:08:27 +0000
commit654175798bdbdd6403e10c8fa74e8586b3612ea1 (patch)
tree00bd91cedb70268106d5bbe351c43865c4bc3eb9 /compat.c
parent3e578a1909bbb29a637291d36017f328e017a3bf (diff)
downloadrsync-654175798bdbdd6403e10c8fa74e8586b3612ea1.tar.gz
patch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to add
different exit codes for different conditions.
Diffstat (limited to 'compat.c')
-rw-r--r--compat.c2
1 files changed, 1 insertions, 1 deletions
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)