We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6719faa commit 358326bCopy full SHA for 358326b
src/main.cc
@@ -147,11 +147,9 @@ int main(int argc, char *argv[]) {
147
rkque_guard{rkqu, &rd_kafka_queue_destroy};
148
149
if (program.is_subcommand_used(topics.handle())) {
150
- topics.run(rk, rkqu);
+ return topics.run(rk, rkqu) ? 0 : 1;
151
} else {
152
std::cerr << "Invalid subcommand\n" << program << std::endl;
153
return 1;
154
}
155
-
156
- return 0;
157
0 commit comments