print pid on err