aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/window
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>1998-01-07 00:05:20 +0000
committerWarner Losh <imp@FreeBSD.org>1998-01-07 00:05:20 +0000
commit545b0f4db7001f3aa09c501144247e7dc67d7b38 (patch)
treeed6a51879591fc261d8c9d1fe0d32dbd817a3886 /usr.bin/window
parent2d3b8b64a8324d97a4553846cd38cc7f8ee26466 (diff)
Notes
Diffstat (limited to 'usr.bin/window')
-rw-r--r--usr.bin/window/wwterminfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/window/wwterminfo.c b/usr.bin/window/wwterminfo.c
index 8039b1ede409e..d8144528b09a6 100644
--- a/usr.bin/window/wwterminfo.c
+++ b/usr.bin/window/wwterminfo.c
@@ -98,8 +98,9 @@ wwterminfoend()
return -1;
case 0:
execl(_PATH_RM, _PATH_RM, "-rf", wwterminfopath, 0);
- return -1;
+ _exit(0);
default:
+ wait(NULL);
return 0;
}
}