From: Johan Malm Date: Mon, 15 Feb 2021 17:57:20 +0000 (+0000) Subject: spawn.c: s/exit()/_exit()/ X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=d5108e291f194740349de9a1cbc81fe5c326a906;p=proto%2Flabwc.git spawn.c: s/exit()/_exit()/ --- 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; }