commit d10629e6628f13c08f5b6013d0f1b68630acc383 from: Stefan Sperling date: Thu Dec 08 13:59:36 2022 UTC remove bogus abort() call from gotsh echo_error() commit - 62192466ab5788fb06092a4aed86ed2682cdee81 commit + d10629e6628f13c08f5b6013d0f1b68630acc383 blob - b8131d3c9afbbd434818c6c64743b9be8d7edf13 blob + 1916c9b0c7afe7a7fba9ce4f0009229fc986da6a --- lib/serve.c +++ lib/serve.c @@ -265,8 +265,7 @@ echo_error(const struct got_error *err, int outfd, int */ buf[0] = 'E'; buf[1] = 'R'; buf[2] = 'R'; buf[3] = ' '; buf[4] = '\0'; len = strlcat(buf, err->msg, sizeof(buf)); - err = got_pkt_writepkt(outfd, buf, len, chattygot); - abort(); + got_pkt_writepkt(outfd, buf, len, chattygot); } static const struct got_error *