From: Volker Lendecke Date: Tue, 31 Jul 2018 19:53:39 +0000 (+0200) Subject: ctdb: Fix a cut&paste error X-Git-Tag: ldb-1.5.0~59 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33d012c3cebb5625e02450ac3b08c4245a3e985d;p=thirdparty%2Fsamba.git ctdb: Fix a cut&paste error BUG: https://bugzilla.samba.org/show_bug.cgi?id=13554 Signed-off-by: Volker Lendecke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/common/path.c b/ctdb/common/path.c index 36706e43b32..165664650ed 100644 --- a/ctdb/common/path.c +++ b/ctdb/common/path.c @@ -149,7 +149,7 @@ const char *path_vardir(void) { bool ok; - if (! ctdb_paths.rundir_set) { + if (! ctdb_paths.vardir_set) { ok = path_construct(ctdb_paths.vardir, "var"); if (!ok) { D_ERR("Failed to construct VARDIR\n");