mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
Prefer _exit() over exit() in forked service handlers
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
268304927d
commit
0ecf46d7a9
1 file changed
+1
-1
+1
-1
@@ -329,7 +329,7 @@ static int service_start(svc_t *svc)
|
||||
#endif
|
||||
if (svc->log.enabled && !svc->log.null)
|
||||
waitpid(pid, NULL, 0);
|
||||
exit(status);
|
||||
_exit(status);
|
||||
} else if (log_is_debug()) {
|
||||
char buf[CMD_SIZE] = "";
|
||||
|
||||
|
||||
Reference in new issue
Block a user