summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-07-13 17:10:05 +0200
committerChristian Ambach <ambi@samba.org>2012-07-18 15:49:52 +0200
commit07412b56bd3b93cf0d242f5692ee31ee5f0901b5 (patch)
tree4a78a2975af51d5d49893acb68b2e531c84728ee /source3
parent364326212646047af8870ac78bd734449cadee89 (diff)
downloadsamba-07412b56bd3b93cf0d242f5692ee31ee5f0901b5.tar.gz
samba-07412b56bd3b93cf0d242f5692ee31ee5f0901b5.tar.bz2
samba-07412b56bd3b93cf0d242f5692ee31ee5f0901b5.zip
s3:smbstatus don't check if process exists twice
is_valid_share_mode_entry() already calls serverid_exists which calls process_exists()
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/status.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 516b551c3f..b87f64c159 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -124,10 +124,6 @@ static void print_share_mode(const struct share_mode_entry *e,
return;
}
- if (!process_exists(e->pid)) {
- return;
- }
-
if (count==0) {
d_printf("Locked files:\n");
d_printf("Pid Uid DenyMode Access R/W Oplock SharePath Name Time\n");