summaryrefslogtreecommitdiff
path: root/system/known_hosts.py
diff options
context:
space:
mode:
Diffstat (limited to 'system/known_hosts.py')
-rw-r--r--system/known_hosts.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/system/known_hosts.py b/system/known_hosts.py
index 40c13002..656fb38d 100644
--- a/system/known_hosts.py
+++ b/system/known_hosts.py
@@ -305,4 +305,5 @@ def main():
results = enforce_state(module,module.params)
module.exit_json(**results)
-main()
+if __name__ == '__main__':
+ main()