Skip to content

Commit

Permalink
Return 0 if everything ok as excepted in a shell
Browse files Browse the repository at this point in the history
  • Loading branch information
obeone authored and clbu committed Dec 11, 2024
1 parent e7fb233 commit ed6946e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox_agent/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def run(config):


def main():
return run(config)
return 0 if run(config) else 1


if __name__ == '__main__':
Expand Down

0 comments on commit ed6946e

Please sign in to comment.