mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #39063 from cloudflare/ISS-39059
Avoid KeyError: 'multiprocessing' in the master logs
This commit is contained in:
commit
2a85d73f59
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ def _read_proc_file(path, opts):
|
|||
except IOError:
|
||||
pass
|
||||
return None
|
||||
if opts['multiprocessing']:
|
||||
if opts.get('multiprocessing'):
|
||||
if data.get('pid') == pid:
|
||||
return None
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue