mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
ctdb-common: Log a message when an invalid conf value is encountered
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13589 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
ebb28c57a1
commit
a017d3181a
@ -1135,6 +1135,10 @@ static bool conf_load_option(const char *name,
|
||||
value.type = opt->type;
|
||||
ret = conf_value_from_string(tmp_ctx, value_str, &value);
|
||||
if (ret != 0) {
|
||||
D_ERR("conf: invalid value [%s] -> \"%s\" = \"%s\"\n",
|
||||
state->s->name,
|
||||
name,
|
||||
value_str);
|
||||
talloc_free(tmp_ctx);
|
||||
state->err = ret;
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user