Makes sure gpm exits with status 0