summaryrefslogtreecommitdiff
path: root/src/cstore/unionfs/cstore-unionfs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cstore/unionfs/cstore-unionfs.cpp')
-rw-r--r--src/cstore/unionfs/cstore-unionfs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cstore/unionfs/cstore-unionfs.cpp b/src/cstore/unionfs/cstore-unionfs.cpp
index 3ac6052..1cfccd4 100644
--- a/src/cstore/unionfs/cstore-unionfs.cpp
+++ b/src/cstore/unionfs/cstore-unionfs.cpp
@@ -192,6 +192,7 @@ UnionfsCstore::UnionfsCstore(bool use_edit_level)
* from environment. only the actual CLI operations use them.
* so here make it an option.
*/
+ mutable_cfg_path = "/";
if (use_edit_level) {
// set up path strings
if ((val = getenv(C_ENV_EDIT_LEVEL.c_str()))) {
@@ -241,6 +242,7 @@ UnionfsCstore::UnionfsCstore(const string& sid, string& env)
// set up path strings using level vars
char *val;
+ mutable_cfg_path = "/";
if ((val = getenv(C_ENV_EDIT_LEVEL.c_str()))) {
mutable_cfg_path = val;
}