summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authoralex <alex@builder.localdomain>2007-12-17 15:34:37 -0800
committeralex <alex@builder.localdomain>2007-12-17 15:34:37 -0800
commite031e51f8da8581311d780983d2e335f058fca99 (patch)
tree2981c37aa3fc5252f6659870e5b4bce1717e13a5 /src/commit.c
parentedb8226cb91b197f022bfdd28246ff5a86541614 (diff)
parente65d2f0e7423bd9d6120e0373a83aad3795670aa (diff)
downloadvyatta-cfg-e031e51f8da8581311d780983d2e335f058fca99.tar.gz
vyatta-cfg-e031e51f8da8581311d780983d2e335f058fca99.zip
Merge branch 'master' of http://phuket.vyatta.com/vyatta-cfg
Diffstat (limited to 'src/commit.c')
-rw-r--r--src/commit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commit.c b/src/commit.c
index 24aff34..c3219e5 100644
--- a/src/commit.c
+++ b/src/commit.c
@@ -1338,8 +1338,8 @@ static int fin_commit(boolean ok)
static char format4[]="rm -rf %s/{.*,*} >&/dev/null ; /bin/true"; /*cdirp*/
static char format5[]="rm -rf %s/{.*,*} >&/dev/null ; /bin/true"; /*adirp*/
static char format6[]="mv -f %s/* -t %s";/*tmpp, adirp*/
- static char format7[]="sudo mount -t unionfs -o dirs=%s=rw:%s=ro"
- " unionfs %s"; /*cdirp, adirp, mdirp*/
+ static char format7[]="sudo mount -t $UNIONFS -o dirs=%s=rw:%s=ro"
+ " $UNIONFS %s"; /*cdirp, adirp, mdirp*/
int m_len = strlen(get_mdirp());
int t_len = strlen(get_tmpp());
int c_len = strlen(get_cdirp());