From fcd444b4e19b15d2f37e1301b63afbdf1c9bd680 Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Thu, 14 Jun 2007 15:51:36 +0000 Subject: [PATCH] Fix inverted logic on last checkin for pvremove --- tools/pvremove.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pvremove.c b/tools/pvremove.c index 040c439fd..066e0768c 100644 --- a/tools/pvremove.c +++ b/tools/pvremove.c @@ -43,7 +43,7 @@ static int pvremove_check(struct cmd_context *cmd, const char *name) } /* orphan ? */ - if (!is_orphan(pv)) + if (is_orphan(pv)) return 1; /* Allow partial & exported VGs to be destroyed. */ -- 2.43.5