mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix memory error when the test suite cleans up
This commit is contained in:
parent
1756156aee
commit
34714221c4
1 changed files with 2 additions and 0 deletions
|
@ -1215,6 +1215,8 @@ def _terminate_process_list(process_list, kill=False, slow_stop=False):
|
|||
except psutil.AccessDenied:
|
||||
# OSX is more restrictive about the above information
|
||||
cmdline = None
|
||||
except OSError:
|
||||
cmdline = None
|
||||
if not cmdline:
|
||||
try:
|
||||
cmdline = process.as_dict()
|
||||
|
|
Loading…
Add table
Reference in a new issue