summaryrefslogtreecommitdiff
path: root/source3/utils/net_conf.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-27 13:05:16 +0100
committerVolker Lendecke <vl@samba.org>2009-11-29 11:22:03 +0100
commit591599645263fc95a2b3f0e8dee6eac32a4f7790 (patch)
tree8fa80ab34f80fbbf8ec3becc6a27cc13ca204ede /source3/utils/net_conf.c
parent2f2a156c7348d9911ce26636544303f8d1f15ff0 (diff)
downloadsamba-591599645263fc95a2b3f0e8dee6eac32a4f7790.tar.gz
s3: "net_conf_addshare" only looks at the mode
Diffstat (limited to 'source3/utils/net_conf.c')
-rw-r--r--source3/utils/net_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_conf.c b/source3/utils/net_conf.c
index 736871f215b..106a53246d3 100644
--- a/source3/utils/net_conf.c
+++ b/source3/utils/net_conf.c
@@ -654,7 +654,7 @@ static int net_conf_addshare(struct net_context *c,
goto done;
}
- if (sys_stat(path, &sbuf, lp_fake_dir_create_times()) != 0) {
+ if (sys_stat(path, &sbuf, false) != 0) {
d_fprintf(stderr,
_("ERROR: cannot stat path '%s' to ensure "
"this is a directory.\n"