No you didn't; execution falls through. You're missing an exit in the parent branch.
In reply to Re^6: fork - child executes code outside of block
by ikegami
in thread fork - child executes code outside of block
by cyadav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |