From f99deef50eda86d063338c92ceed768b5578fb0b Mon Sep 17 00:00:00 2001 From: slioch Date: Mon, 2 Mar 2009 09:51:39 -0800 Subject: fixed preservation of def file when committing configuration. default leafs configured by system will now be suppressed via show command (same behavior as with old commit). --- src/common/unionfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/unionfs.c b/src/common/unionfs.c index 30da90e..0aaffe0 100644 --- a/src/common/unionfs.c +++ b/src/common/unionfs.c @@ -1019,7 +1019,7 @@ copy_func(GNode *node, gpointer data) struct SrcDst *sd = (struct SrcDst*)data; static const char format[]="mkdir -p %s%s";/*tmpp, adirp*/ - static const char format_value[]="cp %s%snode.val %s%s.";/*tmpp, adirp*/ + static const char format_value[]="cp %s%s{node.val,def} %s%s. 2>/dev/null";/*tmpp, adirp*/ char *path = ((struct VyattaNode*)(node->data))->_data._path; //might not work for terminating multinodes as the node.val won't be copied -- cgit v1.2.3