mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
wow this solves an issue!
This commit is contained in:
parent
244c3bd495
commit
9fbfa282fa
1 changed files with 2 additions and 3 deletions
|
@ -116,10 +116,9 @@ class Terminal(object):
|
|||
# Let's avoid Zombies!!!
|
||||
_cleanup()
|
||||
|
||||
if not args and not executable and not shell:
|
||||
if not args and not executable:
|
||||
raise TerminalException(
|
||||
'You need to pass at least one of \'args\', \'executable\' '
|
||||
'or \'shell=True\''
|
||||
'You need to pass at least one of "args", "executable" '
|
||||
)
|
||||
|
||||
self.args = args
|
||||
|
|
Loading…
Add table
Reference in a new issue