From 9b08de926b0ea2fd95d5d9f8cb3463eb3cd72d02 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 2 Sep 2022 17:27:39 -0500 Subject: Revert "start-stop-daemon: use vfork to avoid races" This is broken, so revert it and reopen #532. This reverts commit 9e5ce59a21ed19a3829bae0b27d957c5fd0de74f. --- src/start-stop-daemon/start-stop-daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/start-stop-daemon') diff --git a/src/start-stop-daemon/start-stop-daemon.c b/src/start-stop-daemon/start-stop-daemon.c index a5f1f866..9117f92f 100644 --- a/src/start-stop-daemon/start-stop-daemon.c +++ b/src/start-stop-daemon/start-stop-daemon.c @@ -864,8 +864,8 @@ int main(int argc, char **argv) if (background) signal_setup(SIGCHLD, handle_signal); - if ((pid = vfork()) == -1) - eerrorx("%s: vfork: %s", applet, strerror(errno)); + if ((pid = fork()) == -1) + eerrorx("%s: fork: %s", applet, strerror(errno)); /* Child process - lets go! */ if (pid == 0) { -- cgit v1.2.3