summaryrefslogtreecommitdiffhomepage
path: root/dbutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbutil.c')
-rw-r--r--dbutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbutil.c b/dbutil.c
index 97d7277..044388a 100644
--- a/dbutil.c
+++ b/dbutil.c
@@ -443,7 +443,7 @@ int spawn_command(void(*exec_fn)(void *user_data), void *exec_data,
return DROPBEAR_FAILURE;
}
-#ifndef HAVE_FORK
+#ifdef USE_VFORK
pid = vfork();
#else
pid = fork();