mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix infinate loop in return checks
This commit is contained in:
parent
16e1a050e4
commit
6a56431446
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class LocalClient(object):
|
|||
if not os.path.isfile(retp):
|
||||
continue
|
||||
ret[fn_] = pickle.load(open(retp, 'r'))
|
||||
if ret:
|
||||
if ret and start == 999999999999:
|
||||
start = int(time.time())
|
||||
if len(ret) >= len(minions):
|
||||
return ret
|
||||
|
|
Loading…
Add table
Reference in a new issue