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