8000 address comment from @waynew · perlchild/salt@d6564fc · GitHub
[go: up one dir, main page]

Skip to content

Commit d6564fc

Browse files
committed
address comment from @waynew
1 parent ce17dd1 commit d6564fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

salt/runner.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ def _run_runner(self):
301301
if not self.opts.get('quiet', False):
302302
display_output(ret, 'nested', self.opts)
303303
else:
304+
# If we don't have any values in ret by now, that's a problem.
305+
# Otherwise, we shouldn't be overwriting the retcode.
304306
if not ret:
305307
ret = {
306308
'retcode': salt.defaults.exitcodes.EX_SOFTWARE,

0 commit comments

Comments
 (0)
0