summaryrefslogtreecommitdiff
path: root/src/common/unionfs.c
diff options
context:
space:
mode:
authorslioch <slioch@eng-140.vyatta.com>2009-02-25 11:08:19 -0800
committerslioch <slioch@eng-140.vyatta.com>2009-02-25 11:08:19 -0800
commit1eef25550d68988d5299685ff6015c07d70a7e6e (patch)
treee619915257b1372e81903de190478f62c2c527c2 /src/common/unionfs.c
parentd40c4e1765835dfc6509d10b15e39dbb6c5ec9b9 (diff)
downloadvyatta-cfg-1eef25550d68988d5299685ff6015c07d70a7e6e.tar.gz
vyatta-cfg-1eef25550d68988d5299685ff6015c07d70a7e6e.zip
cosmetic changes, and better to not leave interfaces root node under default priority.
Diffstat (limited to 'src/common/unionfs.c')
-rw-r--r--src/common/unionfs.c4
1 files changed, 2 insertions, 2 deletions
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;