summaryrefslogtreecommitdiff
path: root/src/delete.c
diff options
context:
space:
mode:
authorBob Gilligan <gilligan@vyatta.com>2008-03-18 11:59:50 -0700
committerBob Gilligan <gilligan@vyatta.com>2008-03-18 11:59:50 -0700
commit047e1b4b5a0a3265de6631c4266b78ca94422011 (patch)
tree7bf4d2284a58846efe999e0014e0d8cfab36fa9a /src/delete.c
parent1b22d8e098abf1f2cf4f479dab158c7a93805d11 (diff)
downloadvyatta-cfg-047e1b4b5a0a3265de6631c4266b78ca94422011.tar.gz
vyatta-cfg-047e1b4b5a0a3265de6631c4266b78ca94422011.zip
Bugfix: 2986
Fix typo in arguments to "mount" command.
Diffstat (limited to 'src/delete.c')
-rw-r--r--src/delete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delete.c b/src/delete.c
index b62a697..bb36fd1 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -28,7 +28,7 @@ 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:"
+ sprintf(command, "sudo mount -t $UNIONFS -o dirs=%s=rw:%s=ro"
" $UNIONFS %s", get_cdirp(), get_adirp(), get_mdirp());
system(command);
free(command);