add executable if none exists when become

this is needed as become adds commands that require shell

(cherry picked from commit 4acac55d23)
pull/16362/head
Brian Coca 10 years ago
parent 969c6a4443
commit d88264ee3b

@ -447,7 +447,7 @@ class PlayContext(Base):
if self.become: if self.become:
if executable is None: if not executable:
executable = self.executable executable = self.executable
becomecmd = None becomecmd = None

Loading…
Cancel
Save