From 94a4a7e20b908883d3d481ffb1a0fd31c496f790 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 8 Mar 2021 08:00:47 -0500 Subject: [PATCH] Fix missing exit code in nomededia nodemedia was not setting return code on exit properly. --- confluent_client/bin/nodemedia | 2 ++ 1 file changed, 2 insertions(+) diff --git a/confluent_client/bin/nodemedia b/confluent_client/bin/nodemedia index bb71a8f4..e7d482af 100644 --- a/confluent_client/bin/nodemedia +++ b/confluent_client/bin/nodemedia @@ -187,5 +187,7 @@ def main(): argparser.print_help() sys.exit(1) handler(noderange, media) + if __name__ == '__main__': main() + sys.exit(exitcode)