summaryrefslogtreecommitdiff
path: root/contrib/inventory/lxc_inventory.py
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/inventory/lxc_inventory.py')
-rwxr-xr-xcontrib/inventory/lxc_inventory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/inventory/lxc_inventory.py b/contrib/inventory/lxc_inventory.py
index c026c20009..86a6b22c2d 100755
--- a/contrib/inventory/lxc_inventory.py
+++ b/contrib/inventory/lxc_inventory.py
@@ -65,5 +65,6 @@ def main(argv):
else:
print("Need an argument, either --list or --host <host>", file=sys.stderr)
+
if __name__ == '__main__':
main(sys.argv)