mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Strip empty strings.
This commit is contained in:
parent
a13632cd46
commit
38493bae47
1 changed files with 1 additions and 1 deletions
|
@ -386,7 +386,7 @@ def run(opts):
|
|||
delete_vm(opts)
|
||||
sys.exit(retcode)
|
||||
|
||||
if not stdout:
|
||||
if not stdout.strip():
|
||||
print('Failed to get the bootstrapped minion version(no output). Exit code: {0}'.format(retcode))
|
||||
sys.stdout.flush()
|
||||
if opts.clean and 'JENKINS_SALTCLOUD_VM_NAME' not in os.environ:
|
||||
|
|
Loading…
Add table
Reference in a new issue