diff options
Diffstat (limited to '')
-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. */ |