diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2022-09-02 17:27:39 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2022-09-02 17:27:39 -0500 |
commit | 9b08de926b0ea2fd95d5d9f8cb3463eb3cd72d02 (patch) | |
tree | c537e79068f2551bbce5b78128320c75e0685803 /src | |
parent | f60d42e9019cff6c641a93f4030c71a6efe5846c (diff) |
Revert "start-stop-daemon: use vfork to avoid races"
This is broken, so revert it and reopen #532.
This reverts commit 9e5ce59a21ed19a3829bae0b27d957c5fd0de74f.
Diffstat (limited to 'src')
-rw-r--r-- | src/start-stop-daemon/start-stop-daemon.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |