[PATCH 3/5] programs/cmd: Set success/failure return code for CD command.