summaryrefslogtreecommitdiff
path: root/src/delete.c
diff options
context:
space:
mode:
authorTom Grennan <tgrennan@io.vyatta.com>2007-12-13 18:21:38 -0800
committerTom Grennan <tgrennan@io.vyatta.com>2007-12-13 18:21:38 -0800
commitc6a0c8078b8be141618fed1011229582f13ec30f (patch)
treec3c926daeac802eb834e2d7b05eea1ee42fd2b09 /src/delete.c
parent832dbf144bc019ec524e4163b716dd823ee26900 (diff)
downloadvyatta-cfg-c6a0c8078b8be141618fed1011229582f13ec30f.tar.gz
vyatta-cfg-c6a0c8078b8be141618fed1011229582f13ec30f.zip
support aufs and unionfs
Diffstat (limited to 'src/delete.c')
-rw-r--r--src/delete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/delete.c b/src/delete.c
index 1b7b62e..b62a697 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -28,8 +28,8 @@ static void remove_rf(boolean do_umount)
command = my_malloc(strlen(get_mdirp()) + strlen(get_cdirp()) +
strlen(get_mdirp()) + 100,
"delete");
- sprintf(command, "sudo mount -t unionfs -o dirs=%s=rw:%s=ro:"
- " unionfs %s", get_cdirp(), get_adirp(), get_mdirp());
+ sprintf(command, "sudo mount -t $UNIONFS -o dirs=%s=rw:%s=ro:"
+ " $UNIONFS %s", get_cdirp(), get_adirp(), get_mdirp());
system(command);
free(command);
}