mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Do not raise the exception if a process can not be access, just continue
This commit is contained in:
parent
4d80f0aabf
commit
a53bacb938
1 changed files with 1 additions and 1 deletions
|
@ -832,7 +832,7 @@ class TestDaemon(TestProgram):
|
|||
log.error('Unable to access process %s, '
|
||||
'running command %s as user %s',
|
||||
pinfo['pid'], pinfo['name'], pinfo['username'])
|
||||
raise
|
||||
continue
|
||||
if any((cmdline == proc_cmdline[n:n + cmd_len])
|
||||
for n in range(len(proc_cmdline) - cmd_len + 1)):
|
||||
ret.append(proc)
|
||||
|
|
Loading…
Add table
Reference in a new issue