From aaee996343034a3ab286ec1c2807e5548f2039f4 Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Thu, 26 Aug 2010 17:07:28 -0700 Subject: mark the root as "changed" after "comment" operation. --- src/cstore/cstore.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cstore') diff --git a/src/cstore/cstore.cpp b/src/cstore/cstore.cpp index 30a6d6a..8afa3ee 100644 --- a/src/cstore/cstore.cpp +++ b/src/cstore/cstore.cpp @@ -970,6 +970,10 @@ Cstore::commentCfgPath(const vector& args, const vtw_def& def) } } RESTORE_PATHS; + if (ret) { + // mark the root as changed for "comment" + ret = mark_changed_with_ancestors(); + } return ret; } -- cgit v1.2.3