mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
smbcontrol: Use procid_is_local
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
parent
2948fb347a
commit
fe3c270ea6
@ -325,7 +325,7 @@ static int stack_trace_server(const struct server_id *id,
|
||||
uint32_t msg_flags,
|
||||
void *priv)
|
||||
{
|
||||
if (id->vnn == get_my_vnn()) {
|
||||
if (procid_is_local(id)) {
|
||||
print_stack_trace(procid_to_pid(id), (int *)priv);
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user