From dee9f17b595ea903a982d31d1124b302bb17e2ff Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Jul 2013 00:58:52 -0700 Subject: Wed Jul 17 00:58:51 PDT 2013 --- community/ucarp/02-fix-downscript-on-error.c | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 community/ucarp/02-fix-downscript-on-error.c (limited to 'community/ucarp/02-fix-downscript-on-error.c') diff --git a/community/ucarp/02-fix-downscript-on-error.c b/community/ucarp/02-fix-downscript-on-error.c deleted file mode 100644 index 08af568b4..000000000 --- a/community/ucarp/02-fix-downscript-on-error.c +++ /dev/null @@ -1,12 +0,0 @@ ---- ucarp-1.5.1.orig/src/carp.c -+++ ucarp-1.5.1/src/carp.c -@@ -843,6 +843,9 @@ - if ((pfds[0].revents & (POLLERR | POLLHUP)) != 0) { - logfile(LOG_ERR, _("exiting: pfds[0].revents = %d"), - pfds[0].revents); -+ if ((sc.sc_state != BACKUP) && (shutdown_at_exit != 0)) { -+ (void) spawn_handler(dev_desc_fd, downscript); -+ } - break; - } - if (gettimeofday(&now, NULL) != 0) { -- cgit v1.2.3-54-g00ecf