diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-11 07:04:30 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-11 07:04:30 +0200 |
commit | 1fe777ab5933019b202fa56112eca5c760e2fe94 (patch) | |
tree | a4808ac31c814ed182cacfa8257e9ba8000d38a6 | |
parent | a much of multicasting stuff (diff) | |
download | mds-1fe777ab5933019b202fa56112eca5c760e2fe94.tar.gz mds-1fe777ab5933019b202fa56112eca5c760e2fe94.tar.bz2 mds-1fe777ab5933019b202fa56112eca5c760e2fe94.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | src/mds-server/mds-server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mds-server/mds-server.c b/src/mds-server/mds-server.c index bc3b20f..694197b 100644 --- a/src/mds-server/mds-server.c +++ b/src/mds-server/mds-server.c @@ -1200,7 +1200,8 @@ void multicast_message(multicast_t* multicast) { if (errno != EINTR) perror(*argv); - break; + else if (reexecing) + break; } n -= sent; multicast->message_ptr += sent; @@ -1208,7 +1209,7 @@ void multicast_message(multicast_t* multicast) ); /* Stop if we are re-exec:ing. */ - if ((n > 0) && (errno == EINTR)) + if ((n > 0) && reexecing) return; /* Wait for a reply. */ |