From 492372480adb0b24808c893b090d12f5703fa3fb Mon Sep 17 00:00:00 2001 From: slioch Date: Tue, 30 Jun 2009 13:52:01 -0700 Subject: fix for bug 4669. Revert string back to value for terminating multinodes. --- src/common/unionfs.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/unionfs.c b/src/common/unionfs.c index 1c39cf8..5ef6618 100644 --- a/src/common/unionfs.c +++ b/src/common/unionfs.c @@ -580,7 +580,7 @@ common_commit_copy_to_live_config(GNode *node, boolean test_mode) static const char format0[]="mkdir -p %s ; /bin/true"; static const char formatpoint5[]="rm -fr %s"; /*tmpp*/ static const char format1[]="cp -r -f %s/* %s"; /*mdirp, tmpp*/ - + static const char format2[]="sudo umount %s"; //mdirp static const char format8[]="sudo mount -t unionfs -o dirs=%s=rw:%s=ro unionfs %s"; //cdirp, adirp, mdirp @@ -1038,7 +1038,8 @@ dlist_test_func(GQuark key_id,gpointer data,gpointer user_data) } else { new_vn = vn; - strcat(new_vn->_data._path,"/"); + // strcat(new_vn->_data._path,"/"); + strcat(new_vn->_data._path,"/value"); } new_vn->_data._value = TRUE; strcpy(new_vn->_data._name,(char*)g_quark_to_string(key_id)); -- cgit v1.2.3