Update sesu.py: use defined prompt (#227)

* Update sesu.py: use defined prompt

* add changelog

Co-authored-by: Alexandros Zachos <alexandros.zachos@cz.ibm.com>
This commit is contained in:
lospatchos
2020-05-29 00:09:11 +02:00
committed by GitHub
parent 694546d784
commit 7c6d22efba
2 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- sesu - make use of the prompt specified in the code

View File

@@ -75,7 +75,7 @@ class BecomeModule(BecomeBase):
name = 'community.general.sesu'
_prompt = 'Please enter your password:'
prompt = 'Please enter your password:'
fail = missing = ('Sorry, try again with sesu.',)
def build_become_command(self, cmd, shell):