mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #53750 from twangboy/fix_helpers
Fix memory error when the test suite cleans up (2019.2.1)
This commit is contained in:
commit
317d9af694
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