diff options
author | Volker Lendecke <vl@samba.org> | 2009-11-27 13:02:26 +0100 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2009-12-08 09:15:03 +0100 |
commit | fd90d7dbfd3be79696f15200002d2006865ba2da (patch) | |
tree | c573923f558a2647ff12eaf2a7a3b03944edc359 /source3/utils | |
parent | 753231225d4d50af3dd59bc7f7e7ff5bc838e137 (diff) | |
download | samba-fd90d7dbfd3be79696f15200002d2006865ba2da.tar.gz |
s3: "count_num_usershares" only looks at the mode
(cherry picked from commit d51a8d2717c9cd83b530a5d75893bba90c044e84)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_usershare.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/utils/net_usershare.c b/source3/utils/net_usershare.c index 1a385a36e01..eb7508fe12f 100644 --- a/source3/utils/net_usershare.c +++ b/source3/utils/net_usershare.c @@ -585,8 +585,7 @@ static int count_num_usershares(void) return -1; } - if (sys_lstat(path, &sbuf, lp_fake_dir_create_times()) - != 0) { + if (sys_lstat(path, &sbuf, false) != 0) { d_fprintf(stderr, _("count_num_usershares: can't lstat file %s. " "Error was %s\n"), |