diff options
Diffstat (limited to 'source3/lib/smbconf')
-rw-r--r-- | source3/lib/smbconf/smbconf_txt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbconf/smbconf_txt.c b/source3/lib/smbconf/smbconf_txt.c index 7661c0dceb..d932705e7d 100644 --- a/source3/lib/smbconf/smbconf_txt.c +++ b/source3/lib/smbconf/smbconf_txt.c @@ -221,7 +221,7 @@ static WERROR smbconf_txt_load_file(struct smbconf_ctx *ctx) static WERROR smbconf_txt_init(struct smbconf_ctx *ctx, const char *path) { if (path == NULL) { - path = get_dyn_CONFIGFILE(); + return WERR_BADFILE; } ctx->path = talloc_strdup(ctx, path); if (ctx->path == NULL) { |