From 97bf9794e381317ca89d15009b6827dc6ff9d78c Mon Sep 17 00:00:00 2001 From: An-Cheng Huang Date: Mon, 9 Aug 2010 17:20:50 -0700 Subject: provide default edit level --- src/cstore/unionfs/cstore-unionfs.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cstore/unionfs/cstore-unionfs.cpp') 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; } -- cgit v1.2.3