summaryrefslogtreecommitdiffstats
path: root/tools/vgremove.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2002-01-09 13:17:14 +0000
committerAlasdair Kergon <agk@redhat.com>2002-01-09 13:17:14 +0000
commit614a4508e6964ed53f8174d9f7dbd3c5997b4ee2 (patch)
tree6fa0fc29352077d33806b927060012d301d63007 /tools/vgremove.c
parent89f1e3ddf0b43923c6cd56a00489f1af935a214d (diff)
downloadlvm2-614a4508e6964ed53f8174d9f7dbd3c5997b4ee2.tar.gz
lvm2-614a4508e6964ed53f8174d9f7dbd3c5997b4ee2.tar.xz
lvm2-614a4508e6964ed53f8174d9f7dbd3c5997b4ee2.zip
Add archiving.
Diffstat (limited to 'tools/vgremove.c')
-rw-r--r--tools/vgremove.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/vgremove.c b/tools/vgremove.c
index c1213b5a..1988fb03 100644
--- a/tools/vgremove.c
+++ b/tools/vgremove.c
@@ -53,6 +53,9 @@ static int vgremove_single(const char *vg_name)
return ECMD_FAILED;
}
+ if (!archive(vg))
+ return ECMD_FAILED;
+
/************ FIXME
if (vg_remove_dir_and_group_and_nodes(vg_name) < 0) {
log_error("removing special files of volume group %s",