diff options
author | jilles <jilles@FreeBSD.org> | 2010-05-24 10:35:57 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2010-05-24 10:35:57 +0000 |
commit | 95d1dcb0f4a474d917cb01a3d515ea2850a0adca (patch) | |
tree | abd3f97a6f2c812b44f66b1d435a7387dcf7b1da /bin/Makefile | |
parent | 70f08890fc1cf735f25aaa4982c4789edc7337f2 (diff) | |
download | FreeBSD-src-95d1dcb0f4a474d917cb01a3d515ea2850a0adca.zip FreeBSD-src-95d1dcb0f4a474d917cb01a3d515ea2850a0adca.tar.gz |
sh: Reap any zombies before forking for a background command.
This prevents accumulating huge amounts of zombies if a script executes
many background commands but no external commands or subshells.
Note that zombies will not be reaped during long calculations (within
the shell process) or read builtins, but those actions do not create
more zombies.
The terminated background commands will also still be remembered by the
shell.
PR: bin/55346
Diffstat (limited to 'bin/Makefile')
0 files changed, 0 insertions, 0 deletions