summaryrefslogtreecommitdiff
path: root/community/ucarp/02-fix-downscript-on-error.c
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/ucarp/02-fix-downscript-on-error.c
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/ucarp/02-fix-downscript-on-error.c')
-rw-r--r--community/ucarp/02-fix-downscript-on-error.c12
1 files changed, 0 insertions, 12 deletions
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) {