diff options
-rw-r--r-- | source3/web/statuspage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/statuspage.c b/source3/web/statuspage.c index 9ce9c05b19..3d70796830 100644 --- a/source3/web/statuspage.c +++ b/source3/web/statuspage.c @@ -177,7 +177,7 @@ static int traverse_fn2(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, void* st memcpy(&crec, dbuf.dptr, sizeof(crec)); - if (crec.cnum != -1 || !process_exists(crec.pid) || (crec.pid == smbd_pid)) + if (crec.cnum == -1 || !process_exists(crec.pid) || (crec.pid == smbd_pid)) return 0; addPid2Machine (crec.pid, crec.machine); |