diff options
author | pjd <pjd@FreeBSD.org> | 2010-10-24 15:44:23 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-10-24 15:44:23 +0000 |
commit | 126799a04f2b54a175767a7af78e2f4339b140c2 (patch) | |
tree | ce88f4cb02b4efb35bcfa5afffc9d3fb4cf93d45 /sbin | |
parent | 8bd78aab88f5690b40ff2335b0f8ca5576b85b8d (diff) | |
download | FreeBSD-src-126799a04f2b54a175767a7af78e2f4339b140c2.zip FreeBSD-src-126799a04f2b54a175767a7af78e2f4339b140c2.tar.gz |
Simplify code a bit.
MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/hastd/secondary.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/hastd/secondary.c b/sbin/hastd/secondary.c index d494dfa..6d89f35 100644 --- a/sbin/hastd/secondary.c +++ b/sbin/hastd/secondary.c @@ -318,10 +318,8 @@ init_remote(struct hast_resource *res, struct nv *nvin) (uintmax_t)res->hr_secondary_remotecnt); } if (hast_proto_send(res, res->hr_remotein, nvout, map, mapsize) < 0) { - pjdlog_errno(LOG_WARNING, "Unable to send activemap to %s", + pjdlog_exit(EX_TEMPFAIL, "Unable to send activemap to %s", res->hr_remoteaddr); - nv_free(nvout); - exit(EX_TEMPFAIL); } if (map != NULL) free(map); |