aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/start-stop-daemon/start-stop-daemon.c4
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) {