From c709e0917874e8413010280675430e7dcbfcbcb8 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Sun, 5 Jan 2025 22:25:35 +0000 Subject: [PATCH] gefs: don't abort when the fs breaks it's useful to debug when something goes wrong --- sys/src/cmd/gefs/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/src/cmd/gefs/main.c b/sys/src/cmd/gefs/main.c index 57aca0e59..f9f87722e 100644 --- a/sys/src/cmd/gefs/main.c +++ b/sys/src/cmd/gefs/main.c @@ -89,10 +89,8 @@ errorv(char *fmt, va_list ap, int broke) c = *errctx; vsnprint(c->err, sizeof(c->err), fmt, ap); - if(broke){ + if(broke) fprint(2, "%s\n", c->err); - abort(); - } assert(c->nerrlab > 0 && c->nerrlab < Estacksz); longjmp(c->errlab[--c->nerrlab], -1); }