From 9904e7ff8920712e4cac7b859f91b1627cf558f6 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 21 Mar 2016 18:55:22 -0400 Subject: [PATCH] Timew: Added top-level commit to save data --- src/timew.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/timew.cpp b/src/timew.cpp index 749ec27c..da624ec9 100644 --- a/src/timew.cpp +++ b/src/timew.cpp @@ -78,6 +78,9 @@ int main (int argc, const char** argv) // Dispatch to commands. status = dispatchCommand (args, database, rules, extensions, log); + + // Save any outstanding changes. + database.commit (); } catch (const std::string& error)