Use ps_process_pattern to read state.
This commit is contained in:
parent
6c99405474
commit
23952dea2e
@ -273,7 +273,8 @@ interface(`postfix_read_local_state',`
|
||||
type postfix_local_t;
|
||||
')
|
||||
|
||||
read_files_pattern($1, postfix_local_t, postfix_local_t)
|
||||
kernel_search_proc($1)
|
||||
ps_process_pattern($1, postfix_local_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
@ -291,7 +292,8 @@ interface(`postfix_read_master_state',`
|
||||
type postfix_master_t;
|
||||
')
|
||||
|
||||
read_files_pattern($1, postfix_master_t, postfix_master_t)
|
||||
kernel_search_proc($1)
|
||||
ps_process_pattern($1, postfix_master_t)
|
||||
')
|
||||
|
||||
########################################
|
||||
|
Loading…
Reference in New Issue
Block a user