From 21719813bd82096926b04a340234c59d4681f066 Mon Sep 17 00:00:00 2001 From: Yury Gribov Date: Sat, 27 Feb 2021 21:34:08 +0300 Subject: [PATCH] Fix minor bug pointed out by Roman. --- src/gdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gdb.c b/src/gdb.c index acc43c0..bbc9f87 100644 --- a/src/gdb.c +++ b/src/gdb.c @@ -67,7 +67,7 @@ int run_gdb(unsigned dbg_flags, const char *dbg_opts) { "%s", (long)ppid, dbg_opts); if(nread >= (int)sizeof(buf) - 1) { SAFE_MSG("libdebugme: increase size of buffer in run_gdb\n"); - exit(1); + _exit(1); } if(dbg_flags & DEBUGME_XTERM) {