aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/posix/time.c')
-rw-r--r--toys/posix/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/time.c b/toys/posix/time.c
index 70d2997e..b3cfd26b 100644
--- a/toys/posix/time.c
+++ b/toys/posix/time.c
@@ -28,7 +28,7 @@ void time_main(void)
struct timeval tv, tv2;
gettimeofday(&tv, NULL);
- if (!(pid = xfork())) xexec(toys.optargs);
+ if (!(pid = xvfork())) xexec(toys.optargs);
else {
int stat;
struct rusage ru;