echo.c: Take care of the error paths