summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/docker/plugins/connection/nsenter.py
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_collections/community/docker/plugins/connection/nsenter.py')
-rw-r--r--ansible_collections/community/docker/plugins/connection/nsenter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible_collections/community/docker/plugins/connection/nsenter.py b/ansible_collections/community/docker/plugins/connection/nsenter.py
index fff36afbb..f429f8cef 100644
--- a/ansible_collections/community/docker/plugins/connection/nsenter.py
+++ b/ansible_collections/community/docker/plugins/connection/nsenter.py
@@ -128,7 +128,7 @@ class Connection(ConnectionBase):
# This plugin does not support pipelining. This diverges from the behavior of
# the core "local" connection plugin that this one derives from.
if sudoable and self.become and self.become.expect_prompt():
- # Create a pty if sudoable for privlege escalation that needs it.
+ # Create a pty if sudoable for privilege escalation that needs it.
# Falls back to using a standard pipe if this fails, which may
# cause the command to fail in certain situations where we are escalating
# privileges or the command otherwise needs a pty.