When you use the block form of fork you don't have to exit. The child only runs the block and then exits itself.