From d5108e291f194740349de9a1cbc81fe5c326a906 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Mon, 15 Feb 2021 17:57:20 +0000 Subject: [PATCH] spawn.c: s/exit()/_exit()/ --- src/common/spawn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/spawn.c b/src/common/spawn.c index d42061b7..cfeb58ba 100644 --- a/src/common/spawn.c +++ b/src/common/spawn.c @@ -45,11 +45,11 @@ spawn_async_no_shell(char const *command) grandchild = fork(); if (grandchild == 0) { execvp(argv[0], argv); - exit(0); + _exit(0); } else if (grandchild < 0) { warn("unable to fork()"); } - exit(0); + _exit(0); default: break; }