added status = -1 when creating command_t to read-command.c