summaryrefslogtreecommitdiffstats
path: root/tools/pvremove.c
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2012-03-01 21:46:31 +0000
committerZdenek Kabelac <zkabelac@redhat.com>2012-03-01 21:46:31 +0000
commit0ab5e0e2804333f4c1dfd7f13675ae14f7314171 (patch)
treef832f2cb94c8e8975ca2f37dcd3388d42731bd38 /tools/pvremove.c
parent1281a5e3d5f5e99173e6f156f54c499e9277011a (diff)
downloadlvm2-0ab5e0e2804333f4c1dfd7f13675ae14f7314171.tar.gz
lvm2-0ab5e0e2804333f4c1dfd7f13675ae14f7314171.tar.xz
lvm2-0ab5e0e2804333f4c1dfd7f13675ae14f7314171.zip
Replace goto with just log_debug
FIXME: temporal quick hack to make things green There might be a better reaction.
Diffstat (limited to 'tools/pvremove.c')
-rw-r--r--tools/pvremove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/pvremove.c b/tools/pvremove.c
index 4c3628b7..779ab355 100644
--- a/tools/pvremove.c
+++ b/tools/pvremove.c
@@ -129,7 +129,7 @@ static int pvremove_single(struct cmd_context *cmd, const char *pv_name,
}
if (!lvmetad_pv_gone(dev->dev))
- goto_out;
+ log_debug("PV gone"); /* FIXME any better idea */
log_print("Labels on physical volume \"%s\" successfully wiped",
pv_name);