From d99bc37ed32321650d70a70e7935f409a52f2482 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 796274d0..74be65e5 100644 --- a/confluent_client/bin/nodemedia +++ b/confluent_client/bin/nodemedia @@ -193,5 +193,7 @@ def main(): argparser.print_help() sys.exit(1) handler(noderange, media) + if __name__ == '__main__': main() + sys.exit(exitcode)