diff --git a/netbox_agent/cli.py b/netbox_agent/cli.py index 2d1de19..414e231 100644 --- a/netbox_agent/cli.py +++ b/netbox_agent/cli.py @@ -47,7 +47,7 @@ def run(config): def main(): - return run(config) + return 0 if run(config) else 1 if __name__ == '__main__':