mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
r18066: It's a bit pointless to send ourselves a signal just to check if we exist :-)
Volker (This used to be commit 44105ff2ffa726d2961cecdabbd2056f243ad914)
This commit is contained in:
parent
958576623f
commit
2ad8731341
@ -1474,6 +1474,10 @@ BOOL same_net(struct in_addr ip1,struct in_addr ip2,struct in_addr mask)
|
||||
|
||||
BOOL process_exists(const struct process_id pid)
|
||||
{
|
||||
if (procid_is_me(&pid)) {
|
||||
return True;
|
||||
}
|
||||
|
||||
if (!procid_is_local(&pid)) {
|
||||
/* This *SEVERELY* needs fixing. */
|
||||
return True;
|
||||
|
Loading…
x
Reference in New Issue
Block a user