From 446fd88b8bfa4a153f6591379e507a4bcdd9e3e9 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Tue, 13 May 2014 17:13:07 -0400 Subject: [PATCH] Config - When creating , also creates the hook subdirectory. --- src/Config.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Config.cpp b/src/Config.cpp index 390522203..131494fe7 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -566,6 +566,9 @@ void Config::createDefaultData (const std::string& data) throw std::string ("Error: rc.data.location does not exist - exiting according to rc.exit.on.missing.db setting."); d.create (); + + d += "hooks"; + d.create (); } }