summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/unionfs.c2
1 files changed, 1 insertions, 1 deletions
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