diff options
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r-- | source3/lib/util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c index d650d0ed8b..1a75c11e9a 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -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; |