Check return code (since now put a warning on stderr)
Check return code