diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-07-25 13:22:30 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-07-25 13:22:30 -0500 |
commit | c555188af068f441f78a74f0ec5c7c01f2ab1a7c (patch) | |
tree | eb2c3848091c99bb6e41f480e468b96feaf0b3fe /src/cstore | |
parent | 3a4c381c4ee041dd46998d27febf8a22d56c51bd (diff) | |
download | vyatta-cfg-c555188af068f441f78a74f0ec5c7c01f2ab1a7c.tar.gz vyatta-cfg-c555188af068f441f78a74f0ec5c7c01f2ab1a7c.zip |
Bugfix 7362: Make some adjustments to previous patch per An-Cheng's suggestions
Diffstat (limited to 'src/cstore')
-rw-r--r-- | src/cstore/unionfs/cstore-unionfs.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cstore/unionfs/cstore-unionfs.hpp b/src/cstore/unionfs/cstore-unionfs.hpp index c56f060..4edcfa7 100644 --- a/src/cstore/unionfs/cstore-unionfs.hpp +++ b/src/cstore/unionfs/cstore-unionfs.hpp @@ -162,11 +162,11 @@ private: } else { tmpl_path = C_DEF_TMPL_ROOT; } - orig_tmpl_path = val; - orig_mutable_cfg_path = "/"; + mutable_cfg_path = "/"; + } else { + tmpl_path = orig_tmpl_path; + mutable_cfg_path = orig_mutable_cfg_path; } - tmpl_path = orig_tmpl_path; - mutable_cfg_path = orig_mutable_cfg_path; }; class UnionfsSavePaths : public SavePaths { |