summaryrefslogtreecommitdiff
path: root/tools/pvscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pvscan.c')
-rw-r--r--tools/pvscan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/pvscan.c b/tools/pvscan.c
index 7f6c34de8..144023ce6 100644
--- a/tools/pvscan.c
+++ b/tools/pvscan.c
@@ -370,6 +370,7 @@ int pvscan(struct cmd_context *cmd, int argc, char **argv)
return ECMD_FAILED;
}
+ /* Needed for a current listing of the global VG namespace. */
if (!lockd_gl(cmd, "sh", 0))
return_ECMD_FAILED;