diff options
-rw-r--r-- | src/cstore/cstore.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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<string>& args, const vtw_def& def) } } RESTORE_PATHS; + if (ret) { + // mark the root as changed for "comment" + ret = mark_changed_with_ancestors(); + } return ret; } |