summaryrefslogtreecommitdiffstats
path: root/tools/vgextend.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/vgextend.c
parent89f1e3ddf0b43923c6cd56a00489f1af935a214d (diff)
downloadlvm2-614a4508e6964ed53f8174d9f7dbd3c5997b4ee2.tar.gz
lvm2-614a4508e6964ed53f8174d9f7dbd3c5997b4ee2.tar.xz
lvm2-614a4508e6964ed53f8174d9f7dbd3c5997b4ee2.zip
Add archiving.
Diffstat (limited to 'tools/vgextend.c')
-rw-r--r--tools/vgextend.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/vgextend.c b/tools/vgextend.c
index e172ab3d..b38cd983 100644
--- a/tools/vgextend.c
+++ b/tools/vgextend.c
@@ -63,6 +63,9 @@ int vgextend(int argc, char **argv)
dummy = NULL;
**********/
+ if (!archive(vg))
+ return ECMD_FAILED;
+
/* extend vg */
if (!vg_extend(fid, vg, argc, argv))
return ECMD_FAILED;