summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tterm.c b/tterm.c
index aaeb042..16a3622 100644
--- a/tterm.c
+++ b/tterm.c
@@ -97,7 +97,7 @@ main(int argc, char *argv[])
if (pidatom == None) die("no _NET_WM_PID atom found\n");
/* start terminal */
- if ((child = fork()) == 0) {
+ if ((child = vfork()) == 0) {
execlp(ARGV, NULL);
err(1, "execvp");
}