Revert change to handle command parsing failures in the client because

it breaks aliases.
This commit is contained in:
nicm
2025-04-25 12:25:32 +00:00
parent 63e5989f53
commit b0b6a6f665

View File

@ -267,13 +267,8 @@ client_main(struct event_base *base, int argc, char **argv, uint64_t flags,
if (cmd_list_any_have(pr->cmdlist, CMD_STARTSERVER))
flags |= CLIENT_STARTSERVER;
cmd_list_free(pr->cmdlist);
} else {
fprintf(stderr, "%s\n", pr->error);
args_free_values(values, argc);
free(values);
} else
free(pr->error);
return 1;
}
args_free_values(values, argc);
free(values);
}