From 1eef25550d68988d5299685ff6015c07d70a7e6e Mon Sep 17 00:00:00 2001 From: slioch Date: Wed, 25 Feb 2009 11:08:19 -0800 Subject: cosmetic changes, and better to not leave interfaces root node under default priority. --- src/common/unionfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/common/unionfs.c b/src/common/unionfs.c index e90b8d8..1a5af0c 100644 --- a/src/common/unionfs.c +++ b/src/common/unionfs.c @@ -1063,8 +1063,8 @@ delete_func(GNode *node, gpointer data) char *command = malloc(MAX_LENGTH_DIR_PATH); struct SrcDst *sd = (struct SrcDst*)data; - static const char format[]="rm -fv %s%s{*,.*} >&/dev/null;rmdir %s%s >&/dev/null ; /bin/true"; //need to remove opaque file. - static const char format_force_delete[]="rm -fv %s%s{*,.*} >&/dev/null;rm -fr %s%s >&/dev/null ; /bin/true"; //force delete as this is a delete operation with dependency + static const char format[]="rm -f %s%s{*,.*} >&/dev/null;rmdir %s%s >&/dev/null ; /bin/true"; //need to remove opaque file. + static const char format_force_delete[]="rm -f %s%s{*,.*} >&/dev/null;rm -fr %s%s >&/dev/null ; /bin/true"; //force delete as this is a delete operation with dependency static const char delete_format[]="rm %s%s../.wh.%s >&/dev/null"; char *path = ((struct VyattaNode*)(node->data))->_data._path; -- cgit v1.2.3