From dc08cbfe59fe7456530451e0fc9dfa2620da4ed8 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 8 Jul 2020 17:04:47 +0200 Subject: [PATCH] conf: create ntsdumpdir directory Create the directory specified by the ntsdumpdir directive if it doesn't exist, similarly to logdir and dumpdir. --- conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf.c b/conf.c index 20ce93b..21df457 100644 --- a/conf.c +++ b/conf.c @@ -1769,6 +1769,8 @@ CNF_CreateDirs(uid_t uid, gid_t gid) UTI_CreateDirAndParents(logdir, 0750, uid, gid); if (dumpdir) UTI_CreateDirAndParents(dumpdir, 0750, uid, gid); + if (nts_dump_dir) + UTI_CreateDirAndParents(nts_dump_dir, 0750, uid, gid); } /* ================================================== */