From 651ff9b32865373f9f6298fbe7b0ea5419da3746 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mon, 14 Sep 2009 22:47:49 +0000 Subject: Add lots of missing stack debug messages to tools. Make readonly locking available as locking type 4. Fix readonly locking to permit writeable global locks (for vgscan). (2.02.49) --- tools/pvcreate.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/pvcreate.c') diff --git a/tools/pvcreate.c b/tools/pvcreate.c index a22190d7..99496319 100644 --- a/tools/pvcreate.c +++ b/tools/pvcreate.c @@ -195,8 +195,10 @@ int pvcreate(struct cmd_context *cmd, int argc, char **argv) return ECMD_FAILED; } - if (!pvcreate_single(cmd, argv[i], &pp)) + if (!pvcreate_single(cmd, argv[i], &pp)) { + stack; ret = ECMD_FAILED; + } unlock_vg(cmd, VG_ORPHANS); if (sigint_caught()) -- cgit