aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/src/execle_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/execle_open.c')
-rw-r--r--trunk/src/execle_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trunk/src/execle_open.c b/trunk/src/execle_open.c
index 72c8a6d..2ee5cbc 100644
--- a/trunk/src/execle_open.c
+++ b/trunk/src/execle_open.c
@@ -50,7 +50,7 @@ execve_open (const char *path, char *const argv[], char *const envp[])
return NULL;
}
- switch (vfork ())
+ switch (pid = vfork ())
{
case -1:
error (0, errno, "Could not run %s", path);