Make sure bootlogd findpty() returns an error value when it fails to