diff options
author | slioch <slioch@eng-140.vyatta.com> | 2009-06-30 13:52:01 -0700 |
---|---|---|
committer | slioch <slioch@eng-140.vyatta.com> | 2009-07-06 13:38:22 -0700 |
commit | 492372480adb0b24808c893b090d12f5703fa3fb (patch) | |
tree | cfbc3726fa6cd38a782d7e800752e8ccf0ae4f17 /src/common | |
parent | d324b9b9d1f7c96283a63cb06cce9f9e4acc5cd5 (diff) | |
download | vyatta-cfg-492372480adb0b24808c893b090d12f5703fa3fb.tar.gz vyatta-cfg-492372480adb0b24808c893b090d12f5703fa3fb.zip |
fix for bug 4669. Revert string back to value for terminating multinodes.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/unionfs.c | 5 |
1 files changed, 3 insertions, 2 deletions
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)); |