summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shutdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/shutdown b/shutdown
index ce7de23..fd88105 100644
--- a/shutdown
+++ b/shutdown
@@ -25,7 +25,7 @@ stop_device() {
read devname <"$1/dm/name"
lvm lvdisplay -c "/dev/mapper/$devname" | {
IFS=: read _ vgname _
- lvm vgchange -an "$vgname"
+ lvm vgchange --noudevsync -an "$vgname"
}
;;
raid*)