diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/common/unionfs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/unionfs.c b/src/common/unionfs.c index 8721651..3f42e5b 100644 --- a/src/common/unionfs.c +++ b/src/common/unionfs.c @@ -1041,7 +1041,10 @@ dlist_test_func(GQuark key_id,gpointer data,gpointer user_data) // strcat(new_vn->_data._path,"/"); strcat(new_vn->_data._path,"/value:"); if (vn_parent->_config._def.multi == FALSE) { - strcat(new_vn->_data._path,(char*)g_quark_to_string(key_id)); + char *tmp = (char*)g_quark_to_string(key_id); + if (strchr(tmp,'/') == NULL) { + strcat(new_vn->_data._path,tmp); + } } } new_vn->_data._value = TRUE; |