From bf296012184dca9f5aa6a7946edce81d1bd534eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Villemain?= Date: Mon, 28 Mar 2011 17:08:22 +0200 Subject: [PATCH] remove the exit on rsync error because it is handle by the caller --- repmgr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/repmgr.c b/repmgr.c index 432ccab8..1f398a7b 100644 --- a/repmgr.c +++ b/repmgr.c @@ -1488,7 +1488,6 @@ copy_remote_files(char *host, char *remote_user, char *remote_path, if ((r == 24) && is_directory) { if (!runtime_options.ignore_rsync_warn) - { log_warning( _("\nrsync completed with return code 24 " "\"Partial transfer due to vanished source files\".\n" "This can happen because of normal operation " @@ -1496,8 +1495,6 @@ copy_remote_files(char *host, char *remote_user, char *remote_path, "issue during cloning. If you are certain no " "changes were made to the master, try cloning " "again using \"repmgr --force --ignore-rsync-warning\".")); - exit(ERR_BAD_RSYNC); - } else r = 0; }