Fix a typo causing an incorrect process id to be returned.