summaryrefslogtreecommitdiff
path: root/source3/utils/net_conf.c
diff options
context:
space:
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 736871f215..106a53246d 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"