summaryrefslogtreecommitdiff
path: root/system/gluster_volume.py
diff options
context:
space:
mode:
Diffstat (limited to 'system/gluster_volume.py')
-rw-r--r--system/gluster_volume.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/gluster_volume.py b/system/gluster_volume.py
index f5bca5f9..f34511a3 100644
--- a/system/gluster_volume.py
+++ b/system/gluster_volume.py
@@ -522,4 +522,5 @@ def main():
module.exit_json(changed=changed, ansible_facts=facts)
-main()
+if __name__ == '__main__':
+ main()