diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-07-25 13:22:30 -0500 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-08-04 13:56:45 -0500 |
commit | 4317f85ca73620e0d8418abdf5866154e2bdf71b (patch) | |
tree | ac68dd61eb2c78282075d1176d84e663ecf40c56 | |
parent | 947aa261cca7beb3641e2b74abbb49eb7d263c11 (diff) | |
download | vyatta-cfg-4317f85ca73620e0d8418abdf5866154e2bdf71b.tar.gz vyatta-cfg-4317f85ca73620e0d8418abdf5866154e2bdf71b.zip |
Bugfix 7362: Make some adjustments to previous patch per An-Cheng's suggestions
-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 { |