Eric Pouech : cmd: Test that read is successful before using its result.