Move child's decl after that of exit_status and combine with the call to fork() to skip a pointless initialisation to 0.