diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-11-03 07:08:27 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-11-03 07:08:27 +0000 |
commit | 654175798bdbdd6403e10c8fa74e8586b3612ea1 (patch) | |
tree | 00bd91cedb70268106d5bbe351c43865c4bc3eb9 /sender.c | |
parent | 3e578a1909bbb29a637291d36017f328e017a3bf (diff) | |
download | rsync-654175798bdbdd6403e10c8fa74e8586b3612ea1.tar.gz rsync-654175798bdbdd6403e10c8fa74e8586b3612ea1.tar.bz2 rsync-654175798bdbdd6403e10c8fa74e8586b3612ea1.zip |
patch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to add
different exit codes for different conditions.
Diffstat (limited to 'sender.c')
-rw-r--r-- | sender.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ void send_files(struct file_list *flist,int f_out,int f_in) if (i < 0 || i >= flist->count) { rprintf(FERROR,"Invalid file index %d (count=%d)\n", i, flist->count); - exit_cleanup(1); + exit_cleanup(RERR_PROTOCOL); } file = flist->files[i]; |