summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/unionfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/common/unionfs.c b/src/common/unionfs.c
index 6d71402..8721651 100644
--- a/src/common/unionfs.c
+++ b/src/common/unionfs.c
@@ -1040,7 +1040,9 @@ dlist_test_func(GQuark key_id,gpointer data,gpointer user_data)
new_vn = vn;
// strcat(new_vn->_data._path,"/");
strcat(new_vn->_data._path,"/value:");
- strcat(new_vn->_data._path,(char*)g_quark_to_string(key_id));
+ if (vn_parent->_config._def.multi == FALSE) {
+ strcat(new_vn->_data._path,(char*)g_quark_to_string(key_id));
+ }
}
new_vn->_data._value = TRUE;
strcpy(new_vn->_data._name,(char*)g_quark_to_string(key_id));