commit | 4d24b3b6a4a6383e05e7da26d183b79fa8663697 | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Fri Mar 20 09:11:59 2015 +1100 |
committer | Damien Miller <djm@mindrot.org> | Fri Mar 20 09:32:27 2015 +1100 |
tree | fc6b7fddc084e2d29522499f938c7678587cfa04 | |
parent | 9f82e5a9042f2d872e98f48a876fcab3e25dd9bb [diff] [blame] |
remove error() accidentally inserted for debugging pointed out by Christian Hesse
diff --git a/monitor_wrap.c b/monitor_wrap.c index b379f05..d39d491 100644 --- a/monitor_wrap.c +++ b/monitor_wrap.c
@@ -153,10 +153,8 @@ debug3("%s entering", __func__); if (atomicio(read, sock, buf, sizeof(buf)) != sizeof(buf)) { - if (errno == EPIPE) { - error("%s: socket closed", __func__); + if (errno == EPIPE) cleanup_exit(255); - } fatal("%s: read: %s", __func__, strerror(errno)); } msg_len = get_u32(buf);